pandas.Index.tolist — pandas 1.0.1 documentation (original) (raw)

Index. tolist(self)[source]

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

list

See also

numpy.ndarray.tolist