Skip to content

Commit

Permalink
Fix code blocks in index.rst
Browse files Browse the repository at this point in the history
Closes #416
  • Loading branch information
bmreiniger committed Sep 3, 2023
1 parent 76be05c commit b85bd04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ Known issues:

`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

.. code-block::python
.. code-block:: python
sklearn.set_config(transform_output="pandas")
for a whole project or just for a single pipeline using

.. code-block::python
.. code-block:: python
Pipeline(
steps=[
Expand Down

0 comments on commit b85bd04

Please sign in to comment.