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 ?
Asked
Active
Viewed 26 times
0
Note: The main problem with this i can load whole
-
1When you read the csv with pandas, can't you just specify the rows you want to skip with skiprows? – Mady Daby Jul 31 '21 at 17:56