Skip to content

Commit 8974ce6

Browse files
authored
DOCS: fix category docs (#51579)
* DOC: comparison to CategoricalDtype() * Add GH-number * remove whatsnew entry
1 parent ddb19e2 commit 8974ce6

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

doc/source/user_guide/categorical.rst

-8
Original file line numberDiff line numberDiff line change
@@ -263,14 +263,6 @@ All instances of ``CategoricalDtype`` compare equal to the string ``'category'``
263263
264264
c1 == "category"
265265
266-
.. warning::
267-
268-
Since ``dtype='category'`` is essentially ``CategoricalDtype(None, False)``,
269-
and since all instances ``CategoricalDtype`` compare equal to ``'category'``,
270-
all instances of ``CategoricalDtype`` compare equal to a
271-
``CategoricalDtype(None, False)``, regardless of ``categories`` or
272-
``ordered``.
273-
274266
Description
275267
-----------
276268

0 commit comments

Comments
 (0)