Skip to content

Commit a880024

Browse files
committed
Address two comments from jreback
1 parent 93659e8 commit a880024

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/source/whatsnew/v0.24.0.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,6 +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.
442443

443444
.. _whatsnew_0240.prior_deprecations:
444445

@@ -486,7 +487,7 @@ Bug Fixes
486487
Categorical
487488
^^^^^^^^^^^
488489

489-
- 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`)
490491

491492
Datetimelike
492493
^^^^^^^^^^^^

0 commit comments

Comments
 (0)