to_pandas

ObjectIndex.to_pandas()

Converts the ObjectIndex to a pandas Index object.

Returns

pd.Index

A pandas Index object.

Examples

>>> idx = ObjectIndex(['a', 'b', 'c'])
>>> idx.to_pandas()
Index(['a', 'b', 'c'], dtype='object')