pandas.Series.first_valid_index

pandas 3.1.1 · Series and accessors · method

Find the first index label containing a usable value.

Call syntax

Series.first_valid_index()

Run the example

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

Parameters

This call takes no arguments.

Returns

type of index