Index.
item
Return the first element of the underlying data as a python scalar.
The first element of Index.
If the data is not length-1.
Examples
>>> kidx = ks.Index([10]) >>> kidx.item() 10