title: OneHotEncoder.__init__() got an unexpected keyword argument 'categorical_features'
body: <p>I am facing following errors here. I have already update all library and im using vscode. But can't findout the solution of the problem.</p>
  <pre><code>from sklearn.preprocessing import LabelEncoder , OneHotEncoder
  y=rooms_df['room type'].values
  y_labelencoder = LabelEncoder ()
  y = y_labelencoder.fit_transform (y)
  y=y.reshape(-1,1)
  onehotencoder = OneHotEncoder(categorical_features=[0])
  Y= onehotencoder.fit_transform(y)
  Y.shape 
  </code></pre>
  <p>it says &quot;OneHotEncoder.<strong>init</strong>() got an unexpected keyword argument 'categorical_features'&quot;
  at line code</p>
  <pre><code>onehotencoder = OneHotEncoder(categorical_features=[0])
  </code></pre>
  <p>can u guys help me to solve it?</p>