I am trying to understand the partitions of $S_5$ created by it's conjugacy classes but two sources have two different partitions.
So, for example, in the first table, the partition for cycle structure ()()()()() i.e. $5$ $1$-cycle is $5+0+0+0+0$ but in the second table it is $1+1+1+1+1$.
Could anyone please help me out?
The two sources differ by conjugating the partition, i.e., reading the boxes in the Young diagram horizontally vs reading them vertically. Thus 4+1 in the first source corresponds to 2+1+1+1 in the second, and vica versa. It is just a difference in notation between the two sources.