pandas.Index.item

Index.item(self)[source]

Return the first element of the underlying data as a python scalar.

Returns
scalar

The first element of %(klass)s.

Scroll To Top