modin.pandas.Index.to_list¶
- Index.to_list() list[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.23.0/src/snowflake/snowpark/modin/plugin/extensions/index.py#L2195-L2222)¶
- Return a list of the values. - These are each a scalar type, which is a Python scalar (for str, int, float) or a pandas scalar (for Timestamp/Timedelta/Interval/Period) - Returns:
- The index values in list form 
- Return type:
- list 
 - See also - numpy.ndarray.tolistReturn the array as an a.ndim-levels deep
- nested list of Python scalars. 
 - Examples >>> idx = pd.Index([1, 2, 3]) >>> idx Index([1, 2, 3], dtype=’int64’) - >>> idx.to_list() [1, 2, 3]