in reply to CSV or HTML?
I ran the code with your output file and I didn't see any single quote before the numbers.
Word; count; Unique words;204; Total words;390; mean;1.91176470588235;
+ variance ;17.0069545059403; sigma;4.12394889710582
Maybe I'm just confused about your problem? BTW, that output isn't any kind of valid CSV I've ever seen. The first line doesn't match any of the other lines.
Celebrate Intellectual Diversity