lf.utils.repeatedNans

lf.utils.repeatedNans(array)

Determine the number of repeated nans in a row

Parameters

array (np.array) – Array containing nan “strings”

Returns

Array of the lengths of each nan “string”

Return type

np.array or None