NOOB question about pandas in python 0.2.7 dataframe : Hello all thanks in advance for the help. Okay, So i know this is a stupid issue on my end but I can not figure it out for the life of me. What I am trying to do is take this output from pybaseball which is set in as a list. 

and put it into a csv file using pandas. So far these are the are the queries I have tried I have the information for this output set as data. Whenever I try to import it from pd.DataFrame() it tells me that AttributeError: 'list' object has no attribute 'to_csv'. so I add a dataframe to that using df = pd.Dataframe(data) and that prints out just the headers

How would I get this to import all of the information in the list to csv? 


