precompute on csv to produce dataframes

Fixes #827