def read_dbx_file(file):
    print('Getting latest file')
    (_, f) = dbx.files_download(file)
    with io.BytesIO(f.content) as stream:
        df = pd.read_csv(stream, index_col=0)
    return df
def read_dbx_file(file):
    print('Getting latest file')
    (_, f) = dbx.files_download(file)
    with io.BytesIO(f.content) as stream:
        df = pd.read_csv(stream, index_col=0)
    return df