Hi,
I need to retrieve all column headers so I can use these for dynamically selecting them in the next chained app.
Currently I'm using a lot of tools for this and I have the feeling I'm making it more complex than necessary.

- Currently I transpose the dataset so I get the headers in the column 'name'.
- Then I add a record ID because I do not want to sort the headers which will happen in step 3.
- I groupby the headers twice. One which I will name 'NAME' and another named as 'VALUE'. I also add the min record count.
- Sort on the minimum record count so the original order is back
- Loose the minimum record count column.
How could I simplify this?