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
API: Index doesn't results in PeriodIndex if Period contains NaT
Author: sinhrks <[email protected]>
Closes#13664 from sinhrks/period_infer2 and squashes the following commits:
b208a9e [sinhrks] API: Index doesn't results in PeriodIndex if Period contains NaT
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.19.0.txt
+2-1
Original file line number
Diff line number
Diff line change
@@ -269,6 +269,8 @@ API changes
269
269
- ``.filter()`` enforces mutual exclusion of the keyword arguments. (:issue:`12399`)
270
270
- ``PeridIndex`` can now accept ``list`` and ``array`` which contains ``pd.NaT`` (:issue:`13430`)
271
271
- ``__setitem__`` will no longer apply a callable rhs as a function instead of storing it. Call ``where`` directly to get the previous behavior. (:issue:`13299`)
272
+
- Passing ``Period`` with multiple frequencies to normal ``Index`` now returns ``Index`` with ``object`` dtype (:issue:`13664`)
273
+
- ``PeriodIndex.fillna`` with ``Period`` has different freq now coerces to ``object`` dtype (:issue:`13664`)
272
274
273
275
274
276
.. _whatsnew_0190.api.tolist:
@@ -645,7 +647,6 @@ Bug Fixes
645
647
- Bug in ``.unstack`` with ``Categorical`` dtype resets ``.ordered`` to ``True`` (:issue:`13249`)
646
648
- Clean some compile time warnings in datetime parsing (:issue:`13607`)
647
649
648
-
649
650
- Bug in ``Series`` comparison operators when dealing with zero dim NumPy arrays (:issue:`13006`)
650
651
- Bug in ``groupby`` where ``apply`` returns different result depending on whether first result is ``None`` or not (:issue:`12824`)
651
652
- Bug in ``groupby(..).nth()`` where the group key is included inconsistently if called after ``.head()/.tail()`` (:issue:`12839`)
0 commit comments