import pandas as pd
file = pd.read_csv('file.csv',iterator=True)
while True:
chunk = file.get_chunk(1000)
print(chunk.head(10))
print(chunk.tail(10))
python读取几个G的csv文件
猜你喜欢
转载自blog.csdn.net/u012550037/article/details/80676197
今日推荐
周排行