Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.DataFrame.last_valid_index

DataFrame.last_valid_index()[source]

Return index for first non-NA/null value.

Returns:scalar : type of index

Notes

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

Scroll To Top