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
The code above returns the profile. But it also throws an warning.
/anaconda3/lib/python3.6/site-packages/pandas/core/frame.py:3781: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy
return super(DataFrame, self).rename(**kwargs)
To Reproduce
The above code is reproducible using the Titanic dataset. Other code that also reproduces the error:
Describe the bug
I was interested in hand-selecting a list of columns to report. Example:
The code above returns the profile. But it also throws an warning.
To Reproduce
The above code is reproducible using the Titanic dataset. Other code that also reproduces the error:
Version information:
Additional context
For my purposes this code produced the desired output without throwing a warning:
The text was updated successfully, but these errors were encountered: