chunksize = 10 **2
data = pd.read_csv('C:\\Users\\log.txt', sep=" ", header = None,chunksize =chunksize )
this is what I tried with that 20GB txt file, I used chunksize to chunk it into only 100 lines at a time, and hopefully assign the first 100 lines into variable called data. The problem is whenever i do this, the ipython console dies immediately. Any idea how to solve it?
PS: I want to chunk the whole file into pieces so that I can process them one at a time and upload them into my database