How do I read a large csv file with pandas?

后端 未结 15 1853
隐瞒了意图╮
隐瞒了意图╮ 2020-11-21 07:12

I am trying to read a large csv file (aprox. 6 GB) in pandas and i am getting a memory error:

MemoryError                               Traceback (most recen         


        
15条回答
  •  旧巷少年郎
    2020-11-21 07:18

    You can try sframe, that have the same syntax as pandas but allows you to manipulate files that are bigger than your RAM.

提交回复
热议问题