Pandas 修改文件的头部

import pandas as pd
dataset = pd.read_csv(r'H:\python\数据挖掘代码\新建文件夹\Code_REWRITE\Chapter 3\8.csv')
dataset.columns = ["Date","Time","Visitor Team","VisitorPts","Home Team","HomePts","Score Type","OT?",'Notes']

你可能感兴趣的:(Pandas 修改文件的头部)