Dictionary

Problem:  You have two dictionaries and want to find out what they might have in common (same
keys, same values, etc.).

Problem:  You have a list of dictionaries and you would like to sort the entries according to one
or more of the dictionary values.

 

 

Most_common() methods

Problem:  You have a sequence of items, and you’d like to determine the most frequently occurring
items in the sequence.

 

itertools.groupby()

Problem:  You have a sequence of dictionaries or instances and you want to iterate over the data in groups based on the value of a particular field, such as date.