How to split a huge csv file based on content of first column?

后端 未结 7 2041
一个人的身影
一个人的身影 2020-12-01 17:01
  • I have a 250MB+ huge csv file to upload
  • file format is group_id, application_id, reading and data could look like


        
相关标签:
7条回答
  • 2020-12-01 17:55

    If they are sorted by the group id you can use the csv module to iterate over the rows in the files and output it. You can find information about the module here.

    0 讨论(0)
提交回复
热议问题