I need to change data in large excel file(more than 240 000 rows on sheet), it's possible through win32com.client, but I need use Linux OS ...
Please, could you advise something suitable!
I need to change data in large excel file(more than 240 000 rows on sheet), it's possible through win32com.client, but I need use Linux OS ...
Please, could you advise something suitable!
If it's raw data, I always export it to a .csv file and work on it directly. CSV is a simple format with one row per line and all the elements on the row separated with commas. Depending on what you want to do, it's not hard to write a python script to edit that.
openpyxl
is the recommended python module to use (see http://www.python-excel.org/ )
You can use openpyxl
directly or pandas
(see http://pandas.pydata.org/pandas-docs/stable/io.html) which wraps openpyxl
offering a high level interface to the worksheet.
E.g.
df = pandas.read_excel(FILENAME)
# Manipulate data
#...
df.to_excel(FILENAME)
See also