0

I am trying to gather all the repeated values and their count.

My Dataset: enter image description here

In the above picture suppose fox appears 3 then Fox 3 in that way I want. I tried to use group by but it shows me error of "Sum." something.

studios.groupby(a).value_counts().to_frame('count')

Thanks in advance

Yash Choksi
  • 2,132
  • 3
  • 9
  • 18

0 Answers0