<filename>py files/reject_outliers_mask.py<gh_stars>1-10
def reject_outliers_mask(data, m=2):
    return abs(data - np.mean(data)) < m * np.std(data)
<filename>py files/reject_outliers_mask.py<gh_stars>1-10
def reject_outliers_mask(data, m=2):
    return abs(data - np.mean(data)) < m * np.std(data)