-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Series.fillna doesn't work with series input #5703
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
Comments
yep..should prob work |
@mtkni see PR #5705 pls lmk what you think about the 'other' cases (which were not tested in 0.12, but are possible I guess) doesn't seem to me that passing more than 1 fillna value makes sense for a Series/dict |
My use case is more like the following, which requires multiple values. It worked in 0.12, so I got used to it.
|
ok so u want to match on the index and fill if it's na that's effectively combine_first so will do exactly that |
Now that I look at it, what I was doing only worked because my indexes where the same.
A problem with combine_first approach is that it might expand the index. |
It seems your example above from 0.12 is wrong. This is makes sense?
|
Yes, that is the desired outcome. |
ok gr8.... |
Test code:
Results:
The text was updated successfully, but these errors were encountered: