-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
REF: move most of Block.interpolate to an array method #40671
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
pandas/core/missing.py
Outdated
@@ -99,6 +103,18 @@ def mask_missing(arr: ArrayLike, values_to_mask) -> np.ndarray: | |||
return mask | |||
|
|||
|
|||
def try_clean_fill_method(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.
this is a bitty smelly, can you just use clean_fill_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.
sure
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.
updated + greenish
@jorisvandenbossche have you gotten a chance to look at the Categorical-ArrayManager failure on master? |
any issues with AM tests @jbrockmendel ? |
nothing showing up in the CI. AM doesnt (yet) call this directly |
What's needed additionally to have it usable for ArrayManager? |
the short-circuiting on L1113 and L1123 need some special attention (particularly the one on 1123). Then maybe_downcast at the end needs porting (ive got a branch but am not quite happy with it yet) |
can you merge master and ping on green |
ping |
Not quite at the point where it can be called directly from ArrayManager, but close.