def METHOD_NAME():
    res_df = association_rules(df_freq_items_with_colnames, min_threshold=0.8)
    # default metric is confidence
    assert res_df.values.shape[0] == 9
    res_df = association_rules(
        df_freq_items_with_colnames, min_threshold=0.8, metric="support"
    )
    assert res_df.values.shape[0] == 2
    res_df = association_rules(
        df_freq_items_with_colnames, min_threshold=0.8, support_only=True
    )
    assert res_df.values.shape[0] == 2