xorbits.pandas.Series.keys#

Series.keys()[source]#

Return alias for index.

Returns

Index of the Series.

Return type

Index

Examples

>>> s = pd.Series([1, 2, 3], index=[0, 1, 2])  
>>> s.keys()  
Index([0, 1, 2], dtype='int64')

This docstring was copied from pandas.core.series.Series.