-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Series[Interval].fillna(mismatched) coerce instead of raise #45796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@jreback most recent commit fixes a mypy complaint on main |
@@ -282,6 +282,7 @@ Indexing | |||
Missing | |||
^^^^^^^ | |||
- Bug in :meth:`Series.fillna` and :meth:`DataFrame.fillna` with ``downcast`` keyword not being respected in some cases where there are no NA values present (:issue:`45423`) | |||
- Bug in :meth:`Series.fillna` and :meth:`DataFrame.fillna` with :class:`IntervalDtype` and incompatible value raising instead of casting to a common (usually object) dtype (:issue:`??`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
??
-> 45796
(follow up reminder)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
included in #45940
got it minor comment u can do in a follow up? |
yes |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.Achieves consistency across methods in coercion behavior for IntervalDtype.