function drop_nan_rows

deeptime.numeric.drop_nan_rows(arr: ndarray, *args)

Remove rows in all inputs for which arr has _np.nan entries.

Parameters:
  • arr (numpy.ndarray) – Array whose rows are checked for nan entries. Any rows containing nans are removed from arr and all arguments passed via args.

  • *args (variable length argument list of numpy.ndarray) – Additional arrays from which to remove rows. Each argument should have the same number of rows as arr.