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