标签:reader with open The index 文件格式 info 分享 read open
1.分析CSV文件头
import csv filename=‘sitka_weather_07-2014.csv‘ with open(filename) as f: reader=csv.reader(f) header_row=next(reader) for index,column_header in enumerate(header_row): print(index,column_header)
标签:reader with open The index 文件格式 info 分享 read open
原文地址:https://www.cnblogs.com/exciting/p/9011717.html