DataFrame.last_valid_index()
Return index for last non-NA value or None, if no non-NA value is found.
Notes
If all elements are non-NA/null, returns None. Also returns None for empty Series/DataFrame.
previous
pandas.DataFrame.last
next
pandas.DataFrame.le