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

modin.pandas.Index.name

property Index.name: Hashable[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.21.0/src/snowflake/snowpark/modin/plugin/extensions/index.py#L532-L550)

Get the index name.

Returns:

name of this index

Return type:

Hashable

Examples

>>> idx = pd.Index([1, 2, 3], name='x')
>>> idx
Index([1, 2, 3], dtype='int64', name='x')
>>> idx.name
'x'
Copy
语言: 中文