Completely new to Python / Pandas. I am not able to download pyarrow, apparently, so I am trying to using the pandas integration to save a parquet file.
My code is like this:
I have a dataframe called df. This data is coming from the MySQL Connector via Panadas and Jupytr Notebook.
I did the code:
df.to_parquet
It converts it to a parquet, but how can I save this parquet to my local disc? I have tried everything but can't seem to find out how.
Once you have the dataframe stored in memory, you only need to do the following:
df.to_parquet('./file.parquet')
The structure is the same as the one for df.to_csv()