I am trying to convert a very large csv file in Kaggle. When I use pandas to read the csv file I run into an Out Of Memory Error. I would like to convert the csv file into parquet without reading it first. I have tried the following method:
df1 = pd.read_csv('/kaggle/input/amex-default-prediction/train_data.csv')
df1.to_parquet('/kaggle/input/amex-default-prediction/train.parquet')
but it still gives me the same error.