0

I huge csv dataset with 20 million entries, in this i have an id column too. i am asking how can i read this csv file in 10 separate pandas dataframes like pd1,pd2... and if values of id is 1 to 20 mil,i want pd1 should get 0 to 2000000, pd2 should get 4000000 to 6000000 and that pattern should follows till pd10. How can i do this ?

Note: The main problem with this i can load whole csv file at same time because of not enough ram or if i load it with dask process of dividing it would be so expensive, so how can i divide it without loading it ?

0 Answers0