pandas.Index.to_list

pandas 3.1.1 · Index objects · method

Collect the values in a native Python list.

Call syntax

Index.to_list()

Run the example

Edit the example and select Run Python to see the result.

Parameters

This call takes no arguments.

Returns

list