How to save a pandas dataframe in gzipped format directly?

后端 未结 4 2480
迷失自我
迷失自我 2021-02-19 18:24

I have a pandas data frame, called df.

I want to save this in a gzipped format. One way to do this is the following:

import gzip
import pand         


        
4条回答
  •  礼貌的吻别
    2021-02-19 18:44

    We plan to add better serialization with compression eventually. Stay tuned to pandas development

提交回复
热议问题