Re: my excel file is not updated to add new data

2023-06-26 Thread dn via Python-list
Marc, Apologies for writing in English (the language of this Discussion List). I have attempted to keep the code in French... Thanks for this question. If it's OK with you, I would like to use it as an example-problem (and 'solution') challenge for some future Python Users' Group meeting

Re: my excel file is not updated to add new data

2023-06-26 Thread Thomas Passin via Python-list
On 6/26/2023 1:46 PM, small marcc via Python-list wrote: pandas.ExcelWriter import pandas This code creates the path to the Excel file where the data will be written. It checks if the file already exists, and if so, reads the existing data into a DataFrame. Otherwise, it creates a new empty

my excel file is not updated to add new data

2023-06-26 Thread small marcc via Python-list
pandas.ExcelWriter import pandas This code creates the path to the Excel file where the data will be written. It checks if the file already exists, and if so, reads the existing data into a DataFrame. Otherwise, it creates a new empty DataFrame. Then it concatenates the existing data with the