I have a data frame
Category Group Subgroup Price
Ri a s 1
we a s 2
ge a c 4
re b f 1.5
mb b f 2.5
I want to know the number of unique category if I groupby the column Group and Subgroup.
for ex: The results should be like this if I group by Group and subgroup
Group Subgroup No_of_UniqueCategory Price
a s 2 3