Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4376 Widoki

.py file's code:
...
datafile=fields.Binary("File")
...

file_like=io.BytesIO(base64.b64decode(self.datafile))
table=pandas.ExcelFile(file_like)
col_name=table.parse(0).icol(1).real[1:]
col_datetime=table.parse(0).icol(3)[1:]
...

Now I have modified some data of table;

how shall I write the modified data of the "table" back in a "Binary fields" for users to download?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lut 23
8982
1
sty 18
5692
2
wrz 23
17457
1
gru 22
5576
0
sty 22
2677