I have a list of tuples ordered by value. They are in the form (name,count)
where
count is number of occurrences for each unique name.
I would like to take this list and transform it into CSV where each name is column header and each value is column value of a single row.
Any suggestions how to do it? Thanks.