added in-memory conversion to excel file

This commit is contained in:
2022-05-22 15:39:31 +02:00
parent 7cd47d62f2
commit 22ce635f14

View File

@ -16,3 +16,14 @@ class DateFrameHolder:
from io import BytesIO
def to_excel_binary(df):
with BytesIO() as out:
df.to_excel(out)
res = out.getvalue()
return res