Add Suffix to Dataframe with Specific Repeating Column Name
i have data in a dataframe such as the following columns: week, SITE, LAL, SITE, LAL. I need to assign a suffix to the col name == ‘SITE’ such that the final df will look like: week, SITE_1, LAL, SITE_2, LAL. Thank you, dataframe example: week SITE LAL SITE LAL 0 1 BARTON CHAPEL 1.1… Read More Add Suffix to Dataframe with Specific Repeating Column Name