From b85bd040410712075b3f79cdb0d2b32647f29744 Mon Sep 17 00:00:00 2001 From: Ben Reiniger <40676050+bmreiniger@users.noreply.github.com> Date: Sat, 2 Sep 2023 22:39:20 -0500 Subject: [PATCH] Fix code blocks in index.rst Closes #416 --- docs/source/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index 47712074..43994101 100755 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -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=[