I have a dataframe that is ordered by ID and it has a list inside of the next column, as it show df1
df1 = pd.DataFrame.from_dict({\'ID\': [\'1\', \'2\', \'3\', \