You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.0.0.rst
+4
Original file line number
Diff line number
Diff line change
@@ -223,6 +223,7 @@ Categorical
223
223
224
224
- Added test to assert the :func:`fillna` raises the correct ValueError message when the value isn't a value from categories (:issue:`13628`)
225
225
- Bug in :meth:`Categorical.astype` where ``NaN`` values were handled incorrectly when casting to int (:issue:`28406`)
226
+
- :meth:`DataFrame.reindex` with a :class:`CategoricalIndex` would fail when the targets contained duplicates, and wouldn't fail if the source contained duplicates (:issue:`28107`)
226
227
- Bug in :meth:`Categorical.astype` not allowing for casting to extension dtypes (:issue:`28668`)
227
228
- Bug where :func:`merge` was unable to join on categorical and extension dtype columns (:issue:`28668`)
228
229
- :meth:`Categorical.searchsorted` and :meth:`CategoricalIndex.searchsorted` now work on unordered categoricals also (:issue:`21667`)
@@ -292,6 +293,9 @@ Indexing
292
293
- Bug in reindexing a :meth:`PeriodIndex` with another type of index that contained a `Period` (:issue:`28323`) (:issue:`28337`)
293
294
- Fix assignment of column via `.loc` with numpy non-ns datetime type (:issue:`27395`)
294
295
- Bug in :meth:`Float64Index.astype` where ``np.inf`` was not handled properly when casting to an integer dtype (:issue:`28475`)
296
+
- :meth:`Index.union` could fail when the left contained duplicates (:issue:`28257`)
297
+
- :meth:`Index.get_indexer_non_unique` could fail with `TypeError` in some cases, such as when searching for ints in a string index (:issue:`28257`)
0 commit comments