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

modin.pandas.Index.name¶

property Index.name: Hashable[source]¶

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