Skip to content

Commit 71537c1

Browse files
Merge pull request #417 from bmreiniger/patch-1
Fix code blocks in index.rst
2 parents 76be05c + b85bd04 commit 71537c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ Known issues:
7979

8080
`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
8181

82-
.. code-block::python
82+
.. code-block:: python
8383
8484
sklearn.set_config(transform_output="pandas")
8585
8686
for a whole project or just for a single pipeline using
8787

88-
.. code-block::python
88+
.. code-block:: python
8989
9090
Pipeline(
9191
steps=[

0 commit comments

Comments
 (0)