modin.pandas.Index.item¶ Index.item() → Hashable[source]¶ Return the first element of the underlying data as a Python scalar. Returns: The first element of Series or Index. Return type: scalar Raises: ValueError – If the data is not length = 1.