-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Fix to BUG GH11698. added default value of mask #11715
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
# GH 11698 | ||
# test for mixed data types. | ||
df = pd.DataFrame([('-', pd.to_datetime('20150101')), ('a', pd.to_datetime('20150102'))]) | ||
df.replace('-', np.nan, inplace=True) |
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.
use result = df.replace(....)
never use inplace
in a test, unless you are explicity testing something that involves it explicity. this is not pandonic at all.
minor change, ping when green. |
371fddc
to
cdaf436
Compare
modified test case. |
u need to fix the conflict |
2d30b16
to
c78536a
Compare
8f0d583
to
f646870
Compare
@jreback There is a conflict in whatsnew file. When I am adding the bug fix message and trying to merge with the latest code , it always shows me conflicts. I merged my whatsnew file with the latest code but there is still a conflict. Please help. |
lots of help on this: http://githowto.com/resolving_conflicts you basically edit the conflicted file, picking the correct parts out. then add the files, rebase, and push |
880b220
to
54caed3
Compare
merged via 8ec8487 thanks! |
Thanks |
closes #11698
Please review.