def METHOD_NAME(get_dataframe, exemplar_spatial_unit_param):
    """
    Test that the result of a SubscriberStayLengths query has the expected columns and rows
    """
    locations = [
        daily_location(d, spatial_unit=exemplar_spatial_unit_param)
        for d in ["2016-01-01", "2016-01-02", "2016-01-03"]
    ]
    ssl = SubscriberStayLengths(locations=locations, statistic="max")
    df = get_dataframe(ssl)
    # Check that column_names property is accurate
    assert list(df.columns) == ssl.column_names
    # Check that 'subscriber' column is unique
    assert df.subscriber.is_unique
    # Check that all subscribers are included
    assert len(df) == 500