I have a requirement where in I am trying to count the values and Put them in the pivot table.
This is my dataframe,
  Cola        Colb          
 Apple    Rippened 
Orange    Rippened
 Apple  UnRippened
 Mango  UnRippened
I want the Output to be like this,
        Rippened  UnRippened
Apple          1           1
Mango          0           1
Orange         1           0
Kindly share your thoughts.
 
     
     
    