I want to get the frequency of each item of every list in a list.
For example, given:
my_list = [['Wheels', 'Handle', 'Service'],
['Wheels', 'Forks', 'Handle', 'Wheels', 'Service'],
['Motor Sensor', 'Motor Sensor', 'Electronic']]
I want to output the following:
[{'Wheels':1,'Handle':1,'Service':1},
{'Wheels':2, 'Forks':1,'Handle':1,'Service':1},
{'Motor Sensor':2,'Electronic':1}]