I keep getting the warning in the subject in the following situations:
df.rename(columns={\'one\':\'one_a\'}, inplace=True)
df.drop([\'one\'
Easiest fix (and probably good programming practice) would be to not do inplace operations, e.g.
df2 = df.rename(columns={'one':'one_a'})