I'm trying to get data from Google spreadsheet into pandas
for analysis. I have several datasets in one sheet so I can't use the import as a CSV example shown here: Getting Google Spreadsheet CSV into A Pandas Dataframe
This is what my data looks like in the spreadsheet:
Date letters numbers mixed
1/1/2014 a 3 z1
1/2/2014 b 2 y2
1/3/2014 c 1 x3
I have used gspread
to import and can get the data to look like this with each row a observation:
[['Date', 'letters', 'numbers', 'mixed'], ['1/1/2014', 'a', '3', 'z1'], ['1/2/2014', 'b', '2', 'y2'], ['1/3/2014', 'c', '1', 'x3']]
My question is how do I get it into the pandas dataframe with number indices? I don't want date to be the index. I need a general solution, my dataset is 1000 rows by 50 columns.