From db41218fc86a8c621a12d73a5bb0e9b48647ad87 Mon Sep 17 00:00:00 2001 From: Changyao Chen Date: Sat, 4 Feb 2023 13:46:14 -0500 Subject: [PATCH] add missing trailing colon --- doc/modules/preprocessing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/modules/preprocessing.rst b/doc/modules/preprocessing.rst index 9c2af6424a298..e7d3969d7a212 100644 --- a/doc/modules/preprocessing.rst +++ b/doc/modules/preprocessing.rst @@ -685,7 +685,7 @@ be encoded as all zeros:: All the categories in `X_test` are unknown during transform and will be mapped to all zeros. This means that unknown categories will have the same mapping as -the dropped category. :meth`OneHotEncoder.inverse_transform` will map all zeros +the dropped category. :meth:`OneHotEncoder.inverse_transform` will map all zeros to the dropped category if a category is dropped and `None` if a category is not dropped::