Closed
Description
I recently upgraded from pandas 14.1 to 15.0 and now I am having trouble with the Google Analytics IO tool. Even when running simple queries like:
ga_data = ga.read_ga(metrics='sessions',
dimensions='date',
start_date='2014-06-06',
end_date='2014-10-25',
filters='sourceMedium==google / organic',
account_id='123456789') #obscured account id of course
I get the error "TypeError: list indices must be integers, not Index", whereas I use to get back ga_data as a (iirc) Series object with the dates as the index.
Some context: I use Anaconda from Continuum Analytics. My upgrade process was:
- conda update conda
- conda update anaconda
- conda update pandas
The latter also upgraded numpy and one other package (I don't recall the other packages).
Sorry, but I do not have any pull requests to fix (still really new to this). Please let me know if there's anything else I can provide (e.g. the stack trace).
Thanks!