(dataset_name)
return pd.DataFrame(data, columns=headers)
Fetch a dataset, returning a pandas dataframe.
Fetch a dataset, returning a pandas dataframe.
Fetch a dataset returning a pandas dataframe .
def load_dataset_as_df(dataset_name):
    """
    Fetch a dataset, returning a pandas dataframe.
    """
    import pandas as pd
    data = load_dataset(dataset_name)
    headers = dataset_metadata(dataset_name)["headers"]
    return pd.DataFrame(data, columns=headers)
def load_dataset_as_df ( dataset_name ) : import pandas as pd data = load_dataset ( dataset_name ) headers = dataset_metadata ( dataset_name ) [ "headers" ] return pd . DataFrame ( data , columns = headers )