Put out data to CSV

star to write my method