xorbits.pandas.DataFrame.last_valid_index#

DataFrame.last_valid_index() Hashable | None#

Return index for last non-NA value or None, if no non-NA value is found.

Returns

scalar

Return type

type of index

Notes

If all elements are non-NA/null, returns None. Also returns None for empty Series/DataFrame.

This docstring was copied from pandas.core.frame.DataFrame.