python pandas 给dataframe添加列名
时间:2020-11-10 23:10:57
收藏:0
阅读:709
df_org = pd.read_csv(path) print(df_org.head(5)) df_org.columns = ["UserID", "Gender", "Age", "Attribution", "Type", "StartTime", "EndTime", "Log", "Lat"] print(df_org.head(5))
原文:https://www.cnblogs.com/red-27/p/13956409.html
评论(0)