Created
October 5, 2019 08:44
-
-
Save RoySegall/aabdfffb62626d45c83f292ad81bebe3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for sheet_name in mapping: | |
sheet_keys = {} | |
for sheet_key in mapping[sheet_name]: | |
translated = mapping[sheet_name][sheet_key] | |
if translated in sheet_keys: | |
print(f"{translated} exists in column {sheet_keys[translated]} and {sheet_key} under sheet {sheet_name}") | |
sheet_keys[translated] = sheet_key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment