Skip to content

Commit cfeb81e

Browse files
committed
Add whatsnew entry for PR #22710
1 parent aa9393f commit cfeb81e

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
@@ -616,6 +616,7 @@ Categorical
616616
^^^^^^^^^^^
617617

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

620621
Datetimelike
621622
^^^^^^^^^^^^

0 commit comments

Comments
 (0)