def get_summary_stats(data,column_headers):

    """

    Background:
    This function will get some summary statistics about the original dataset being uploaded.

    Input:

    data: a dataframe with the data from the uploaded csv containing a dimension and metric
    column_headers: string of column names for the dimension and metric


    Output:

    sum_stats: a list containing the count of time units, the mean, std, min and max values of the metric. This data is rendered on step 2 of the UI.

    """

    # Set the dimension and metrics
    dimension = column_headers[0]
    metric = column_headers[1]



    time_unit_count = str(data[dimension].count())





    print(data[metric].mean())

    mean = str(round(data[metric].mean(),2))
    print('string of the mean is ' + mean)


    std = str(round(data[metric].std(),2))
    minimum = str(round(data[metric].min(),2))
    maximum = str(round(data[metric].max(),2))

    sum_stats = [time_unit_count,mean,std,minimum,maximum]
    print(sum_stats)

    return sum_stats