save pandas dataframe to parquet

df.to_parquet('df.parquet.gzip', compression='gzip')  

Here is what the above code is Doing:
1. Creating a DataFrame from a dictionary
2. Writing the DataFrame to a Parquet file
3. Reading the Parquet file into a DataFrame
4. Writing the DataFrame to a Parquet file with compression