I have a dictionary with a lot of keys that are different from each other because of the dictionary's case sensitivity. I'd like to have it all in one lower case key, but with all values of those keys aggregated.
I have something like:
>>> data
{'Blue Car': 73, 'blue Car': 21, 'yellow car': 10, 'Yellow Car': 15, 'Red Car': 12, 'Red car': 17, 'red car': 10, 'Yellow car': 18}
And the output should be like:
>>> newData
{'blue car': 94, 'yellow car': 43, 'red car': 39}