Python Forum
Editing excel documents
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Editing excel documents
#2
first learn pandas: https://pandas.pydata.org/
or
openpyxl: https://openpyxl.readthedocs.io/en/stable/

pandas preferred
the rest will become clear.

Quote:P.S. Side question... would it be computationally easier to 1) go through the excel document line by line and append a txt document with the 'School Name' if the criteria fit... or 2) go through the excel document line by line, deleting rows that don't fit the criteria then at the end convert the column of 'School Name' from entry A2 downwards into a txt file?

Neither:
read the document with Pandas and create report.
Original excel document is not altered.
Reply


Messages In This Thread
Editing excel documents - by chizz1996 - Nov-28-2018, 03:09 PM
RE: Editing excel documents - by Larz60+ - Nov-28-2018, 03:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  A program for backing up documents (doesnt work(code is inside)) Richard_SS 4 3,464 Jun-05-2019, 03:47 PM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020