I have a .csv file that has 2 fields. How can I make the values from one of the fields the column headers and the values from the other field the values associated with the column headers?
Field Header 1 is currently named: Attributes, Field Header 2 is currently named: Values. I want to flip this around so that the values in the Attribute field are now the Field Headers and the values in the Value field become the values associated with each header.
Thanks.
.csv file
Sorry, it’s a python question. I found the answer by using the transpose function.
Thanks
2.1m questions
2.1m answers
60 comments
57.0k users