def METHOD_NAME(get_dataframe):
    """Test that we can use the output of another query to subset by."""
    unique_subs_sample = UniqueSubscribers("2016-01-01", "2016-01-07").random_sample(
        size=10, sampling_method="system", seed=0.1
    )
    su = EventTableSubset(
        start="2016-01-01", stop="2016-01-03", subscriber_subset=unique_subs_sample
    )
    su_set = set(get_dataframe(su).subscriber)
    uu_set = set(get_dataframe(unique_subs_sample).subscriber)
    assert su_set == uu_set
    assert len(su_set) == 10