Hello @Sophia Leblanc!
It can be done by creating a new column with a fixed value, say 1. You can then use a filter to get an empty dataset, such as "NewColumn" == 0, and then perform a transpose operation with the "Transpose" task. Make sure the option "Put attributes name as first column" is enabled