I have the following dataframe:
df = pd.DataFrame([{\'name\': \'John\', \'counter\' : [1,1,3,5]},{\'name\': \'John\', \'counter\' : [2,0,1,5]},{\'name\': \'John\'