You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is fine not to implement a warning when downcasting will cause data loss, but the fact that this is not implemented means the user should be advised that they assume the risk.
In short, the behavior when downcasting a column should be discussed antonymously to the upcasting section in the documentation.
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/docs/user_guide/basics.html#dtypes
Documentation problem
Upcasting is discussed, but not downcasting.
Suggested fix for documentation
It is fine not to implement a warning when downcasting will cause data loss, but the fact that this is not implemented means the user should be advised that they assume the risk.
In short, the behavior when downcasting a column should be discussed antonymously to the upcasting section in the documentation.
Resulting from #50214.
The text was updated successfully, but these errors were encountered: