You are viewing documentation about an older version (1.21.0). View latest version

modin.pandas.Index.delete¶

Index.delete() → None[source]¶

Make new Index with passed location(-s) deleted.

Parameters:

loc (int or list of int) – Location of item(-s) which will be deleted. Use a list of locations to delete more than one value at the same time.

Returns:

Will be the same type as self, except for RangeIndex.

Return type:

Index

See also

numpy.delete

Delete any rows and column from NumPy array (ndarray).