ENH: improving export_csv