How do quickly search through a .csv file in Python

后端 未结 6 977
别跟我提以往
别跟我提以往 2020-12-18 09:10

I\'m reading a 6 million entry .csv file with Python, and I want to be able to search through this file for a particular entry.

Are there any tricks to search the en

6条回答
  •  粉色の甜心
    2020-12-18 10:04

    my idea is to use python zodb module to store dictionaty type data and then create new csv file using that data structure. do all your operation at that time.

提交回复
热议问题