pandas压缩保存csv - xd21303/Notebook GitHub Wiki pd.to_csv('data.zip', compression=dict(method='zip', archive_name='data.csv'), index=False)