Convert columns to rows

I need help to to make the header column of the spreadsheet to rows, just like the output of the code (table). I want it to be made into new spreadsheet and then converted to pdf. How to do this?

because this is a google form responses spreadsheet, i want it so the new spreadsheet follow the content of the original spreadsheet (if theres new responses and new answers, a new column is added and labeled answer 4 and so on)
Thank you in advance

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system: