def METHOD_NAME(exemplar_spatial_unit_param, get_dataframe):
    lv = LocationVisits(
        DayTrajectories(
            daily_location("2016-01-01", spatial_unit=exemplar_spatial_unit_param),
            daily_location("2016-01-02", spatial_unit=exemplar_spatial_unit_param),
        )
    )
    ml = majority_location(subscriber_location_weights=lv, weight_column="value")
    assert ml.column_names == (["subscriber"] + lv.spatial_unit.location_id_columns)
    out = get_dataframe(ml)
    assert len(out) >= 0