I'm trying to transpose in Databricks, when used to PROC SQL in SAS.
This is the data table I am trying to transpose.

And I am wanting to get a simple transpose

I am not sure where to start... Seems the Pivot table needs a summarize function etc. This should be really simple...
I have tried adding a sequence counter, that isn't easy with databricks either by id_request. I have tried to replace letters with numbers... Just not working...
