有一个300M的excel 需要从中找出一列并去重,用pandas 处理非常缓慢,使用openpyxl的只读模式可以加快访问数据,但是也大概处理了10分钟,才得出结果,以下是代码 看代码 from openpyxl import load_workbook from openpyxl import