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

modin.pandas.Index.delete

Index.delete() None[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.21.0/src/snowflake/snowpark/modin/plugin/extensions/index.py#L889-L909)

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).

语言: 中文