I'm sorry for the newbie question but I cannot find an answer.
I have a table with 3 columns:
File  Word  Occurrences
  f1   cat            2
  f1   dog            1
  f2   cat            4
  f2   pig            3
And I want to convert it in a table where each file corresponds to a row and each column to the occurrences of a specific word:
File  Cat  Dog  Pig
  f1    2    1    0
  f2    4    0    3
 
     
    