Methods for writing Parquet files using Python?

后端 未结 6 772
再見小時候
再見小時候 2021-02-02 09:30

I\'m having trouble finding a library that allows Parquet files to be written using Python. Bonus points if I can use Snappy or a similar compression mechanism in conjunction wi

6条回答
  •  [愿得一人]
    2021-02-02 10:07

    fastparquet does have write support, here is a snippet to write data to a file

    from fastparquet import write
    write('outfile.parq', df)
    

提交回复
热议问题