Python3报错:FutureWarning: Method .as_matrix will be removed in a future version. Use .values instead. Posted on 2022-04-01 by Admin Python3报错:FutureWarning: Method .as_matrix will be removed in a future version. Use .values instead. orig_data = pdData.as_matrix() 解决办法:根据报错提示将as_matrix()改为values orig_data = pdData.values 点赞 收藏 分享 文章举报 zhangvalue 发布了496 篇原创文章 · 获赞 464 · 访问量 86万+ 他的留言板 关注