Given a dataframe
data = [[\'Bob\',\'25\'],[\'Alice\',\'46\'],[\'Alice\',\'47\'],[\'Charlie\',\'19\'], [\'Charlie\',\'19\'],[\'Charlie\',\'19\'],[\'Doug\',\'23\']