pandas.DataFrame.drop

DataFrame.drop(labels, axis=0, level=None, inplace=False)

Return new object with labels in requested axis removed

Parameters :

labels : single label or list-like

axis : int or axis name

level : int or level name, default None

For MultiIndex

inplace : bool, default False

If True, do operation inplace and return None.

Returns :

dropped : type of caller