I am currently using the following to read 2GB csv file but it gives memory error on the third line.
import pandas as pd
import csv
SimData = pd.read_csv(r'C:\MyFileofSize2GB.csv')
columns = SimData.columns.tolist()
I intend to segregate each column and store them into separate csv files.
Edit:
MyFileofSize2GB.csv has 10 columns and I want to create 10 separate csv files after reading it in Python, one file for each column. But it fails when I try to read MyFileofSize2GB.csv in Python and gives memory error.