Python - dump of lists into csv export : I need to ad column headers and then export the following to csv.
But whenever I export the list I am only get the last line with each of the characters in columns. 

This is the current output I am getting:

[![Current output of list][1]][1]


If I do df=pd.DataFrame([d])
Then I get the following :

[![enter image description here][2]][2]


  [1]: https://i.stack.imgur.com/y4O6v.png
  [2]: https://i.stack.imgur.com/F1qHR.png