csv file generates with a single blank row at the end how to remove

Thanks so much, I’ve sent over the csv template by dm