Skip to content

Commit bab4c76

Browse files
committed
Address comments from Tom
1 parent 69fb0d5 commit bab4c76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/whatsnew/v0.24.0.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ Deprecations
439439
- :meth:`MultiIndex.to_hierarchical` is deprecated and will be removed in a future version (:issue:`21613`)
440440
- :meth:`Series.ptp` is deprecated. Use ``numpy.ptp`` instead (:issue:`21614`)
441441
- :meth:`Series.compress` is deprecated. Use ``Series[condition]`` instead (:issue:`18262`)
442-
- :meth:`Categorical.from_codes` has deprecated providing float values for the ``codes`` argument.
442+
- :meth:`Categorical.from_codes` has deprecated providing float values for the ``codes`` argument. (:issue:`21767`)
443443

444444
.. _whatsnew_0240.prior_deprecations:
445445

@@ -487,7 +487,7 @@ Bug Fixes
487487
Categorical
488488
^^^^^^^^^^^
489489

490-
- Bug in :meth:`Categorical.from_codes` where ``NaN`` values in `codes` were silently converted to ``0`` (:issue:`21767`)
490+
- Bug in :meth:`Categorical.from_codes` where ``NaN`` values in `codes` were silently converted to ``0`` (:issue:`21767`). In the future this will raise a ``ValueError``. Also changes the behavior of `.from_codes([1.1, 2.0])`.
491491

492492
Datetimelike
493493
^^^^^^^^^^^^

0 commit comments

Comments
 (0)