pandas.Series.last_valid_index
pandas 3.1.1 · Series and accessors · method
Find the last index label containing a usable value.
Call syntax
Series.last_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