mars.dataframe.Index.drop#

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

Make new Index with passed list of labels deleted.

参数
  • 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'.

返回

dropped

返回类型

Index

抛出

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