This one is a little off the wall and understand if this isn't the right place to ask.
I am trying to loop through a table in Excel and if my control column does not equal a specific value, append it to another sheet that is a copy of a report template. While I could likely do this in VBA, the kicker is I am trying to do it using Python utilizing either xlwings, openpyxl or pandas.
Long story short, I am using Python to do an API call, pull a HTML table and write it to an Excel sheet (using a pandas dataframe) then trying to parse through it and clean it up while writing to a report. Since I found it easier to do the GET request in Python, I decided to stay in python for the entire process as a learning experience. Any chance anyone could offer guidance on how to construct a typical VBA for loop in Python?
I am trying to loop through a table in Excel and if my control column does not equal a specific value, append it to another sheet that is a copy of a report template. While I could likely do this in VBA, the kicker is I am trying to do it using Python utilizing either xlwings, openpyxl or pandas.
Long story short, I am using Python to do an API call, pull a HTML table and write it to an Excel sheet (using a pandas dataframe) then trying to parse through it and clean it up while writing to a report. Since I found it easier to do the GET request in Python, I decided to stay in python for the entire process as a learning experience. Any chance anyone could offer guidance on how to construct a typical VBA for loop in Python?