随笔分类 -  python

pandas 使用chunkSize 读取大文件
摘要:import pandas as pdimport numpy as np import chardet #检测文件编码with open(r'D:\test.txt', 'rb') as fo: encode = chardet.detect(fo.readline())['encoding'] 阅读全文
posted @ 2019-06-26 19:25 linchee0721 阅读(5861) 评论(0) 推荐(0)