I would like to get some data from quandland analyze it in Julia. Unfortunately, there is no official API for this (yet). I know this solution , but it is still very limited in functionality and does not match the same syntax as the original Python API.
I thought it would be wise to use PyCallJulia to retrieve data using the official Python API from within. This gives the result, but I'm not sure how I can convert it to a format that I could use in Julia (ideally a DataFrame).
I have tried the following.
using PyCall, DataFrames
@pyimport quandl
data = quandl.get("WIKI/AAPL", returns = "pandas");
Julia converts this output to Dict{Any,Any}. When used returns = "numpy"instead, returns = "pandas"I get PyObject rec.array.
How can I get datalike Julia DataFrameas it quandl.jlwill return it? Please note that quandl.jlthis is not an option for me, since it does not support automatic extraction of several assets and does not have several other functions, so it is important that I can use the Python API.
Thanks for any suggestions!
source
share