Table Of Contents

Search

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

pandas.Index.drop

Index.drop(labels, errors='raise')[source]

Make new Index with passed list of labels deleted

Parameters:

labels : array-like

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

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

Returns:

dropped : Index

Scroll To Top