maxfuse.utils.drop_zero_variability_columns

maxfuse.utils.drop_zero_variability_columns(arr_lst, tol=1e-8)[source]

Drop columns for which its standard deviation is zero in any one of the arrays in arr_list.

Parameters:
  • arr_lst (list of np.array) – List of arrays

  • tol (float, default=1e-8) – Any number less than tol is considered as zero

Returns:

List of np.array where no column has zero standard deviation