Error tokenizing data. C error: out of memory pandas python, large file csv

前端 未结 4 1554

I have a large csv file of 3.5 go and I want to read it using pandas.

This is my code:

import pandas as pd
tp = pd.read_csv(\'train_2011_2012_2013.csv\',         


        
4条回答
  •  日久生厌
    2021-02-02 01:36

    You may try to add parameter engine='python. It loads the data slower but it helped in my situation.

提交回复
热议问题