Fix comment in DataFrameSelector
parent
9367c6ef42
commit
a82e624171
|
@ -1043,7 +1043,6 @@
|
||||||
"from sklearn.base import BaseEstimator, TransformerMixin\n",
|
"from sklearn.base import BaseEstimator, TransformerMixin\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# Create a class to select numerical or categorical columns \n",
|
"# Create a class to select numerical or categorical columns \n",
|
||||||
"# since Scikit-Learn doesn't handle DataFrames yet\n",
|
|
||||||
"class OldDataFrameSelector(BaseEstimator, TransformerMixin):\n",
|
"class OldDataFrameSelector(BaseEstimator, TransformerMixin):\n",
|
||||||
" def __init__(self, attribute_names):\n",
|
" def __init__(self, attribute_names):\n",
|
||||||
" self.attribute_names = attribute_names\n",
|
" self.attribute_names = attribute_names\n",
|
||||||
|
|
Loading…
Reference in New Issue