Series.
item
Return the first element of the underlying data as a Python scalar.
The first element of Series.
If the data is not length-1.
Examples
>>> psser = ps.Series([10]) >>> psser.item() 10