-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REGR: memory_usage showing unnecessary FutureWarning #50068
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
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.
lgtm
Either need conditional logic on 32 vs 64-bit machines or just not check the result; I'm okay with the latter for this. |
lets try intp |
It's not the dtype, it's the value. You're counting bytes on 32bit vs 64bit machines. |
Thx, should have checked the error message... |
Thanks @phofl |
…ing unnecessary FutureWarning) (pandas-dev#50122) Backport PR pandas-dev#50068: REGR: memory_usage showing unnecessary FutureWarning Co-authored-by: Patrick Hoefler <[email protected]>
sys.getsizeof
a DataFrame with no columns results in an irrelevantFutureWarning
#50066 (Replace xxxx with the GitHub issue number)doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.