pandas.Index.item# Index.item()[source]# Return the first element of the underlying data as a Python scalar. Returns scalarThe first element of %(klass)s. Raises ValueErrorIf the data is not length-1.