1

I have a list of CSV files that I would like to send by e-mail. But I would like to zip it to send as one folder sort of. Anyone that can provide examples of how can I folder a list of csv files, so, therefore, I can use my function to send as e-mail.

I have consulted here and tried this one here Seems also that:

df.to_csv('my_file.gz', compression='gzip')

Only compress one single file, not all over in a list.

Any help is highly appreciate

may
  • 1,073
  • 4
  • 14
  • 31
  • 3
    Don't make us stare down your current code. What is it doing? Why is it even included in your question? – timgeb Dec 19 '17 at 09:49
  • 1
    @timgeb yes, I had to rewrite it as I am looking for examples of how to do rather than just fix my code or so! Thanks – may Dec 19 '17 at 11:25

0 Answers0