Skip to content

Commit 9905063

Browse files
committed
Add whatsnew entry for PR #22710
1 parent 4119bdd commit 9905063

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/source/whatsnew/v0.24.0.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ Categorical
614614
^^^^^^^^^^^
615615

616616
- 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])``.
617+
- Constructing a :class:`pd.CategoricalIndex` with empty values and boolean categories was raising a ``ValueError`` after a change to dtype coercion (:issue:`22702`).
617618

618619
Datetimelike
619620
^^^^^^^^^^^^

0 commit comments

Comments
 (0)