python pandas save to parquet code example Example: save pandas dataframe to parquet df.to_parquet('df.parquet.gzip', compression='gzip')