pandas.Series.item
pandas 3.1.1 · Series and accessors · method
Extract a scalar. For a Series, Index or array, the default extraction requires exactly one element.
Call syntax
Series.item()Run the example
Edit the example and select Run Python to see the result.
Parameters
This call takes no arguments.
Returns
scalar