pd.DataFrame.drop
¶
pandas.DataFrame.drop(labels=None, axis=0, index=None, columns=None, level=None, inplace=False, errors='raise')
- Only dropping columns supported, either using
columns
argument or settingaxis=1
and using thelabels
argument labels
andcolumns
require constant string, or constant list/tuple of string valuesinplace
supported with a constant boolean value- All other arguments are unsupported