I am trying to display some CSV file by switching rows and columns, so that this:
a,b,name
20,10,"Hello World"
Would looks like:
a,20
b,10
name,"Hello World"
For instance in Sqlite one can use the pivot clause, but I'm looking for something more general and not SQL specific.
So is there an easy way to convert rows to columns by splitting them at a given separator (here ,
)?