I am trying to download a csv file (about 250 MB) as a dataframe with pandas. In my first attempt, I used the typical read_csv command, but I get error memory. I tried the approach mentioned in Big, Persistent DataFrame in pandas using chunks:
x=pd.read_csv('myfile.csv', iterator=True, chunksize=1000) xx=pd.concat([chunk for chunk in x], ignore_index=True)
but when I tried to concatenate, I got the following error: Exception: "All objects passed were None . " In fact, I canβt access the pieces
I am using winpython 3.3.2.1 for 32 bits with pandas 0.11.0
source share