df.drop(['column_name'],axis=1,inplace=True)
给予
"Warning (from warnings module):
File "/home/sourav/.local/lib/python3.5/site-packages/pandas/core/frame.py", line 3697
errors=errors)
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"