摘要: df3.fillna(0, inplace=True) 阅读全文
posted @ 2024-02-07 14:37 爱学习的小猫咪 阅读(13) 评论(0) 推荐(0) 编辑
摘要: print(df2) test_data = pd.pivot(data=df2 # 待转换df , index=['main_customer_code1','product_code1'] # df交叉后行 , columns='data_date1' # df交叉后的列 , values='t 阅读全文
posted @ 2024-02-07 10:53 爱学习的小猫咪 阅读(2) 评论(0) 推荐(0) 编辑