Truth.first_valid_index

Truth.first_valid_index#

missionbio.demultiplex.dna.truth.Truth.first_valid_index

Truth.first_valid_index() Optional[Hashable]#

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

Returns:
scalartype of index

Notes

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


< Class Truth