title: OneHotEncoder ,TypeError: __init__() got an unexpected keyword argument 'drop'
body: <p>In sklearn 0.20.3 documentation, <a href="https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html" rel="nofollow noreferrer">https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.OneHotEncoder.html</a> <strong>init</strong> has parameter drop, but when I use the same it's throwing a type error.</p>
  
  <p>I didn't find any examples using the "drop" Keyword, most of the examples I have seen are using the older version of sklearn. And in some cases, they used ColumnTransfer (even that's for the older version of OnehotEncoder as it gives Future Warning)</p>
  
  <pre class="lang-py prettyprint-override"><code>from sklearn.preprocessing import LabelEncoder, OneHotEncoder
  labelencoder_X = LabelEncoder()
  X[:, 0] = labelencoder_X.fit_transform(X[:, 0])
  
  onehotencoder = OneHotEncoder(categories = [0],handle_unknown='ignore',drop=[0])
  </code></pre>
  
  <p>Expected results: should be able to compile the above code.
  Actual results: TypeError (<strong>init</strong>() got an unexpected keyword argument 'drop')</p>