### 2 responses to “Pandas: Getting financial data from Yahoo!, FRED, etc.”

1. Migrating from R to Python as well...

Glad I stumbled upon your code after trying to grab the Yahoo stock information into a DataFrame.

However, I found that to get the correct data by time range, I needed to change the appropriate monthly figures downward by one, i.e. with January to be 0, February=1, etc.
Two changes:
'&a=%s' % (start.month -1) + \
...
'&d=%s' % (end.month - 1) + \

Thanks again. Saved me from writing my own.