Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88066

Python Pandas Autogenerating spreadsheet based on 2 other spreadsheets

$
0
0

So i have kind of a complicated problem im attempting to solve. I have to make around 500 spreadsheets that have around 500 rows each and am trying to solve this problem with pandas and python. The final spreadsheet should look like this(simplified):

This section is static(note the incrementing number on the left):enter image description here

These sections are dynamic and need updated based on an imported config file i will create:enter image description here

enter image description here

And for the final section i would need to add one of these per "IFD". So for example, my import sheet will list all the "IFDs" and i will need to populate one of these sections per "IFD".

enter image description here

Where it says "1100 Manual" it would increment based on the imported drive numbers sheet. Im thinking i would have to have 2 seperate import files that look like the following:

DriveImports:

enter image description here

AZ Config:

enter image description here

How can i loop through all of this to generate a file that looks like this:

enter image description here


Viewing all articles
Browse latest Browse all 88066

Trending Articles