I\'m trying to refactoring the code below, but im not sure how far I can go.
def calculate_common(dataset, column):
#make a list of unique coulmns of t