def test_measure_std_dev(): t = pd.DataFrame({"test": [np.nan, 1, 2, 3, 3, 4, 5, 6]}) dt = c.Measure(get_first_col(t)) assert dt.std_dev == 1.7182493859684491
def test_measure_iqr(): t = pd.DataFrame({"test": [np.nan, 1, 2, 3, 3, 4, 5, 6]}) dt = c.Measure(get_first_col(t)) assert dt.iqr == 2
def test_measure_mean(): t = pd.DataFrame({"test": [np.nan, 1, 2, 3, 3, 4, 5, 6]}) dt = c.Measure(get_first_col(t)) assert dt.mean == 3.4285714285714284