摘要:
一、场景一,每行数据带表头 现在有如下数据: student_Id,score,rating,class_id 1,60,4,1 1,67,1.5,2 2,45,4,1 2,47,4,2 2,50,4,3 3,100,4,1 3,90,3,2 3,61,4,3 3,85,3,4 现在需求让每一行的数 阅读全文
摘要:
##比如有如下格式的CSV文件: Row Name Age Country 1 John 20 Australia 2 Peter 20 USA 3 Simon 25 China 4 Alex 21 Germany 一、读取 CSV 文件,输出为字典 import csv import os def 阅读全文