I tried renaming an index value with the code:
df_1.rename({'*****': "Favour Edwards"}, axis = 0, inplace = True)
and I got this message:
/home/jupyterlab/conda/envs/python/lib/python3.6/site-packages/pandas/core/frame.py:4238: 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/user_guide/indexing.html#returning-a-view-versus-a-copy
return super().rename(**kwargs)
Although my code still ran without any observable errors, i still checked out the link but unfortunately i'm still pretty new with coding and the vocabulary/ semantics of the documentation seemed sort of complex for me to really understand. Anyone who can break down the meaning in simpler terms?