Skip to content
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

coalesce - pandas version shouldn't replace NaN when other is also NaN-like #168

Open
machow opened this issue Dec 2, 2019 · 0 comments
Labels
be:pandas type:bug Something isn't working

Comments

@machow
Copy link
Owner

machow commented Dec 2, 2019

For example, in the code below, the output replace np.nan from the first series, with None...

x = pd.Series([1., None, None])
abc = pd.Series(['a', 'b', None])
coalesce(x, abc)

#        0    1
#       1    b
#        2    None
#        dtype: object
@machow machow added this to siuba Jan 6, 2022
@machow machow added the type:bug Something isn't working label Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
be:pandas type:bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant