modin.pandas.Index.name

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

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
Language: English