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

pandas version #43012

Closed
Pysion-lin opened this issue Aug 13, 2021 · 3 comments
Closed

pandas version #43012

Pysion-lin opened this issue Aug 13, 2021 · 3 comments
Labels
Closing Candidate May be closeable, needs more eyeballs

Comments

@Pysion-lin
Copy link

Pysion-lin commented Aug 13, 2021

pandas==1.0.3
In [16]: df.where(df.notnull(), None)
Out[16]:
A B
0 2013-01-01 1
1 NaT 2
2 2013-01-03 None

but pandas==1.3.1
In [16]: df.where(df.notnull(), None)
Out[16]:
A B
0 2013-01-01 1
1 NaT 2
2 2013-01-03 NaN

why?

@MarcoGorelli

@MarcoGorelli
Copy link
Member

Hi @Pysion-lin - duplicate of #42423?

@MarcoGorelli MarcoGorelli added the Closing Candidate May be closeable, needs more eyeballs label Aug 13, 2021
@Pysion-lin
Copy link
Author

Hi @Pysion-lin - duplicate of #42423?

Thankyou very much

@MarcoGorelli
Copy link
Member

no worries 😄

@MarcoGorelli MarcoGorelli added this to the No action milestone Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closing Candidate May be closeable, needs more eyeballs
Projects
None yet
Development

No branches or pull requests

2 participants