I am using pandas to compress single data frame and save into a compressed folder.
compression_opts = dict(method=\'zip\',archive_name=file_name+\'.csv\') raw