How to merge two rows into one?
Question:
Answers:
A simple groupby with agg will do the trick
df.groupby(['Col_1','Col_2','Col_3'],as_index = False).agg(list)
A simple groupby with agg will do the trick
df.groupby(['Col_1','Col_2','Col_3'],as_index = False).agg(list)