maxframe.dataframe.Index.drop#

Index.drop(labels, errors='raise')#

Make new Index with passed list of labels deleted.

Parameters:
  • labels (array-like)

  • errors ({'ignore', 'raise'}, default 'raise') – Note that this argument is kept only for compatibility, and errors will not raise even if errors=='raise'.

Returns:

dropped

Return type:

Index

Raises:

KeyError – If not all of the labels are found in the selected axis