i am getting the CSV output as in this photo, which inserts extra blank lines in between the data. Can it be fixed? I tried trim(). But it didn't work.

i am getting the CSV output as in this photo, which inserts extra blank lines in between the data. Can it be fixed? I tried trim(). But it didn't work.
