I have data frame df that can be re-created with the code below:
df
df1 = pd.DataFrame({\'name\': [\'jim\', \'john\', \'joe\', \'jack\', \'jake\']}) df