python dataframe to parquet code example
Example 1: parquet to dataframe
pd.read_parquet('example_pa.parquet', engine='pyarrow')
Example 2: save pandas dataframe to parquet
df.to_parquet('df.parquet.gzip', compression='gzip')
pd.read_parquet('example_pa.parquet', engine='pyarrow')
df.to_parquet('df.parquet.gzip', compression='gzip')