pandas 列名重命名

  df = df.rename(columns={'product_name':'name','label':'tag'})

posted @ 2019-07-31 15:14  yjy888  阅读(1987)  评论(0)    收藏  举报