Convert Parquet to CSV
Solution 1:
You can do this by using the Python packages pandas
and pyarrow
(pyarrow
is an optional dependency of pandas
that you need for this feature).
import pandas as pd
df = pd.read_parquet('filename.parquet')
df.to_csv('filename.csv')
When you need to make modifications to the contents in the file, you can standard pandas
operations on df
.