Below is the output for my DataFrame. I would like to sort the DataFrame by the column animals and subsequently by day. How can I sort animals in the following order: dogs, pigs, cats? Thanks.
index animals day number
0 dogs 1 3
1 cats 2 1
2 dogs 3 4
3 pigs 4 0
4 pigs 5 6
5 cats 6 1