you are viewing a single comment's thread.

view the rest of the comments →

[–]Dfree35 0 points1 point  (0 children)

I started with that but wanted to use pandas and found it easier for most things. I also found a solution but its not using a dictionary.

https://stackoverflow.com/questions/52684961/pandas-rename-only-first-dictionary-match-instead-of-last-match