Wednesday, September 24, 2014

GAMS to Python

When we need to export data from GAMS to Python for further processing, I often use SQLite as intermediate storage. It is very easy to load data from SQLite into a Pandas dataframe:


The text_factory thing may help with Unicode issues.

Compare this to reading the same data into R:


For more info about doing data stuff in Python see:


No comments:

Post a Comment