[{'index': date, 'value': val} for date, val in zip(d['index'], d['data'])]
json.dumps([{'index': date, 'value': val} for date, val in zip(d['index'],
    d['data'])])
Как преобразовать Pandas Dataframe в нужный формат Json