using using @ds.to_csv is way easier than constructing a csv by hand