I have dataframe like:
column1 column2 column3
ram tall good
rohan short fine
ajay tall best
alia tall good
aman medium fine
john short good
jack short fine
now i need output like:
unique count of good in tall, short, medium on basis of column1->
tall=2 , short=1 , medium=0
unique count of fine in tall, short, medium on basis of column1->
tall=0 , short=2 , medium=1
unique count of best in tall, short, medium on basis of column1->
tall=1 , short=0 , medium=0
I am beginner in pandas. Thanks in advance