I am trying to export a CSV where the Header row has fewer columns than the rest of the file. Also for daylight saving, one day a year will have two fewer columns than the rest of the month.
How can I remove the trailing commas in the exported file?