def execute(client, query):
    """
    Execute a bigquery command and return the results in a dataframe

    :param client: an instantiated bigquery client object
    :param query: the query to execute
    :return pandas dataframe object
    """
    print(query)
    return client.query(query).to_dataframe()