Pandas df.to_parquet write() got an unexpected keyword argument 'index' when ignoring index column

Viewed 1730

I am trying to export a pandas dataframe into a parquet format using the following:-

df.to_parquet("codeset.parquet", index=False)

I don't want to have index column in the parquet file so is this automatically done by to_parquet command or how can I get around this so that there is no index column included in the exported parquet.

0 Answers
Related