MultiIndex.
item
Return the first element of the underlying data as a python tuple.
The first element of MultiIndex.
If the data is not length-1.
Examples
>>> psmidx = ps.MultiIndex.from_tuples([('a', 'x')]) >>> psmidx.item() ('a', 'x')