Saving outputs in CSV file

I’m not sure, but it sounds like @marouane isn’t concerned with writing multiple times to the same file, but rather that the call to write is only giving them a single row, when they expect it to be 10 rows because of the for-loop.