-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REF: share fillna #36488
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
REF: share fillna #36488
Conversation
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.
beautiful code deletion
|
||
if mask.any(): | ||
if method is not None: | ||
func = missing.get_fill_func(method) |
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.
get_fill_func
returns the 1d versions pad and backfill, doesn't this mixin also need to also support 2d EAs?
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.
eventually yes. but it wont break anything user-facing until we start backing DTBlock/TDBlock directly by DTA/TDA
Near-identical implementations in DatetimeLikeArray and PandasArray