Код: Выделить всё
with open('filename.xlsx', 'wb') as f:
f.write(response.body)
Код: Выделить всё
df = pd.read_excel('filename.xlsx')
records = df.to_dict('records')
Подробнее здесь: https://stackoverflow.com/questions/792 ... -the-excel
Код: Выделить всё
with open('filename.xlsx', 'wb') as f:
f.write(response.body)
Код: Выделить всё
df = pd.read_excel('filename.xlsx')
records = df.to_dict('records')