in response to [this question on stackoverflow]
$ chmod +x csvparse.py
There is a [very good paper] published by James Bergstra et al, Proceedings of the 9th PYTHON IN SCIENCE CONF. (SCIPY 2010) describing the idea of Theano and how it works behind the scenes.
In fact, it's abstract is already quite informative. Let's go through it step by step:
Abstract — Theano is a compiler for mathematical expressions in Python that combines the convenience of NumPy’s syntax with the speed of optimized native machine language.
data as per the cubes tutorial at http://cubes.readthedocs.org/en/v1.0.1/tutorial.html the data has been converted to valid json suitable for loading with mongodb
# convert datetime value for year import pandas as pd import datetime df = pd.read_csv('ibrd_balance.csv') df.year = df.year.apply(lambda y : datetime.datetime(y,1,1))