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
import pandas as pd pd.DataFrame({"foo": [0,1,2]}).replace(0,pd.NA)
crashes by reaching maximum recursion depth.
Interestingly enough a replacement with None instead or numpy.nan works as expected.
None
numpy.nan
Pandas version 1.5.2
The text was updated successfully, but these errors were encountered:
Hi, thanks for your report. What you are doing is not a good idea in general, because your data are cast to object. It should work nevertheless though
Sorry, something went wrong.
This was patched and then the patch was reverted. Issue #45725.
Not sure why this wasn't closed. This is fixed on 1.5.3 and tests were added
Sorry this was incorrect, we decided not to backport because the change was to invasive
No branches or pull requests
crashes by reaching maximum recursion depth.
Interestingly enough a replacement with
None
instead ornumpy.nan
works as expected.Pandas version 1.5.2
The text was updated successfully, but these errors were encountered: