Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pandas Excelwriter, writer.save()

Pandas Excelwriter, writer.save() the command is saving the file in read-only mode. Does it have an option to save the file in write mode.

Problem: When i am trying to copy the cell values (through python coding) from the file created from writer.save(), its says that the value is read-only. Note: I am working with xlsx files.

like image 586
user3151018 Avatar asked Nov 18 '25 02:11

user3151018


1 Answers

writer.save() is depreciated, use writer.close()

Ref: https://pandas.pydata.org/docs/reference/api/pandas.ExcelWriter.close.html#pandas.ExcelWriter.close

like image 72
Kiranraj Avatar answered Nov 21 '25 08:11

Kiranraj