modin.pandas.Index.item¶
- Index.item() Hashable[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.42.0/src/snowflake/snowpark/modin/plugin/extensions/index.py#L686-L697)¶
- 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.