My df is in the following Format:
When i do a df.groupby('Tool').sum() i get the following:
The expected output is the following:
Please guide me in achieving the desired output.
Use GroupBy.agg with convert values to sets and then join by /:
df.groupby('Tool').agg(lambda x: '/'.join(set(x)))
groupby.sum()line)? Did you move past that?