I want to extract some data(specific columns) from a csv file and invert them to rows and create an other csv file. So I thought of converting the current csv file to a list or dict and then use loops to convert it to rows and write the new csv file. I have seen some topics on that using stringIO and so forth but in vain.
Is there a simpler way to get to my objective? If so, please tell me and if not please help in converting string to csv file. I am using Python 3.