df = df.rename(columns={'product_name':'name','label':'tag'}) 转载于:https://www.cnblogs.com/yjybupt/p/11276477.html