-
Notifications
You must be signed in to change notification settings - Fork 908
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
Extend replace_nulls_policy
to string
and dictionary
type
#7004
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-0.18 #7004 +/- ##
============================================
Coverage 82.01% 82.01%
============================================
Files 96 96
Lines 16340 16340
============================================
Hits 13402 13402
Misses 2938 2938 Continue to review full report at Codecov.
|
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.
Looks good, just one small fix.
Follow up of PR #7004 Adds `method` field to `fillna` method in string type column to support `ffill` and `bfill`. Also involves a small change to a `datetime64` `ffill`, `bfill` test case to improve test robustness. Authors: - Michael Wang <[email protected]> Approvers: - GALI PREM SAGAR URL: #7036
Follow up for PR #6907
replace_null
policy function now supportsstring
anddictionary
dtype column.Since original implementation depends only on column validity and index, this extension trivially removes SFINAE on
replace_null
functor and removestype_dispatcher
.