There is a para break at the end of my .csv file. I tried to remove the blank line that is at the end of the file using the following command.
sed -i \'/^$/d\' c
To remove blank lines you can use grep . or sed '/^$/d'
grep .
sed '/^$/d'
It will remove any blank line in the file. I hope you file does not have any blank lines in the middle but this will work in your case.
cat combined.csv | grep .
or
cat combined.csv | sed '/^$/d'