hibou.utils.remove_nan_rows#

hibou.utils.remove_nan_rows(ref_array: array, *arrays)#

Remove all the rows that contain at least one missing value.

Note

All the given arrays must have the same number of rows.

Parameters#

ref_arraynp.array

The array that will be take as a reference for detecting missing values.

arrays

The array to be cleaned.

Returns#

np.array

The filtered array.