def format_date(date):
    df = pd.read_csv('data.csv', index_col=False)
    for x in range(len(df['Date'])):
        if (df['Date'][x] == date):
            return x
def format_date(date):
    df = pd.read_csv('data.csv', index_col=False)
    for x in range(len(df['Date'])):
        if (df['Date'][x] == date):
            return x