generate automatically tex table out of stats.py