I want to transform row into columns in an automated way because I have a lot of data, as in the image: