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