In Julia, I call the pandas_datareader python module to download data from the Internet:
using PyCall
@pyimport datetime
@pyimport pandas_datareader.data as web
gdp = web.DataReader("GDPCA","fred",start=datetime.datetime(1929,1,1))
The gdp variable is a PyObject object. Thus, I cannot manipulate it (for example, to take magazines). How to convert it to an array? I tried to convert (Array {Float64,2}, gdp), but this is only Julia's glitch.
Thanks!
Marek source
share