pandas.Series.last_valid_index

Series.last_valid_index()[source]

Return label for last non-NA/null value