You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/index.rst
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,30 @@ To use:
74
74
All of these are fully compatible sklearn transformers, so they can be used in pipelines or in your existing scripts. If
75
75
the cols parameter isn't passed, every non-numeric column will be converted. See below for detailed documentation
76
76
77
+
Known issues:
78
+
----
79
+
80
+
`CategoryEncoders` internally works with `pandas DataFrames` as apposed to `sklearn` which works with `numpy arrays`. This can cause problems in `sklearn` versions prior to 1.2.0. In order to ensure full compatibility with `sklearn` set `sklearn` to also output `DataFrames`. This can be done by
81
+
82
+
.. code-block::python
83
+
84
+
sklearn.set_config(transform_output="pandas")
85
+
86
+
for a whole project or just for a single pipeline using
0 commit comments