0

I have tried to reshape the following data frame from long to wide.

enter image description here

And I want it to become:

enter image description here

where the values under my columns A, B and C are the count of the frequency of my column violation.

How can I do this swiftly? I could not find any relevant pivot documentation.

Thanks!

Muhammad usman
  • 521
  • 1
  • 3
  • 16
Filippo Sebastio
  • 1,112
  • 1
  • 12
  • 23

0 Answers0