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's indeed odd, and there are already a lot of discussions to have this solved (see eg #8239 and #9816), but we can't just change it for backward compatible reasons.
Hello,
I noticed
raises
which seems to mean that, by default, sort uses by default
inplace=True
but according to
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.sort.html
Here is a minimal example:
raises
ValueError: This Series is a view of some other array, to sort in-place you must create a copy
raises same exception
but
doesn't raises exception
Kind regards
The text was updated successfully, but these errors were encountered: