Answers for "python dataframe to_parquet"

1

save pandas dataframe to parquet

df.to_parquet('df.parquet.gzip', compression='gzip')
Posted by: Guest on November-25-2020
0

parquet to dataframe

pd.read_parquet('example_pa.parquet', engine='pyarrow')
Posted by: Guest on August-24-2020

Python Answers by Framework

Browse Popular Code Answers by Language