I have a column with lists in each row, I would like to check if any of the rows has a duplicate.
updated_df.groupby('value 1')['value 2'].apply(list).reset_index(name='value 2')
| Vaue 1| Vaue 2|
|:------|:------|
|25 |[22,22]|
|265 | [4] |
|257 |[1,1,7]|
My intention is to create an adjacent column which contains 'True' or some other indicator to see if there are duplicates and no if not.
Thanks!