Looking for a solution using python to rename the column headers in the below example DataFrame starting at GStart:GS1. I need to rename the 2 columns adjacent to the already named column and repeat this for the whole data frame.
For example, find the next named, rename the next two columns and repeat. I can complete this using the rename pandas method but is there a way to create a loop as the named column headers will not always be the same.
Example DataFrame:
