-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
implement fillna from 24024, with fixes and tests #24536
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
kind of weird that |
Codecov Report
@@ Coverage Diff @@
## master #24536 +/- ##
==========================================
- Coverage 31.88% 31.87% -0.01%
==========================================
Files 166 166
Lines 52427 52438 +11
==========================================
Hits 16714 16714
- Misses 35713 35724 +11
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #24536 +/- ##
===========================================
+ Coverage 31.88% 92.32% +60.44%
===========================================
Files 166 166
Lines 52427 52440 +13
===========================================
+ Hits 16714 48417 +31703
+ Misses 35713 4023 -31690
Continue to review full report at Codecov.
|
@@ -481,6 +481,10 @@ def pad_1d(values, limit=None, mask=None, dtype=None): | |||
_method = algos.pad_inplace_float64 | |||
elif values.dtype == np.object_: | |||
_method = algos.pad_inplace_object | |||
elif is_timedelta64_dtype(values): | |||
# NaTs are treated identically to datetime64, so we can dispatch |
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.
is something failing? i agree this is probably the soln. but likely these are converted prior to calling this (to i8)
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.
Presumably; I haven’t looked at the series code to see how it handles this. Enough core.missing mysteries have popped up today I’ll be giving them a close look after the RC
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
gentle ping |
thanks |
* upstream/master: implement fillna from 24024, with fixes and tests (pandas-dev#24536)
cc @jreback @TomAugspurger
couple of issues with
fillna
needed sorting out