0

I have a Dataframe like this.

A     B
dog  yes
cat  yes
dog  no
cat  yes

and I need an output df like this.

A   yes No
dog  1  1
Cat  2  0
R.singh
  • 259
  • 1
  • 13

0 Answers0