Table Of Contents


Enter search terms or a module, class or function name.


Series.drop(labels, axis=0, level=None, inplace=False, errors='raise')

Return new object with labels in requested axis removed.


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.

errors : {‘ignore’, ‘raise’}, default ‘raise’

If ‘ignore’, suppress error and existing labels are dropped.

New in version 0.16.1.


dropped : type of caller