We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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==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
The text was updated successfully, but these errors were encountered:
Hi @Pysion-lin - duplicate of #42423?
Sorry, something went wrong.
Thankyou very much
no worries 😄
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: