如何在我的test_set datafram中添加新列?
如何将true_prediction
变量添加到测试数据中
test['prediction'] = true_prediction
,但并未作为新列添加,如 myResult_pic
如何使测试数据接受为新列!
How to add true_prediction
variable to the test data
test['prediction'] = true_prediction
but it's not added as a new column, as shown in myresult_pic
How to make the test data accept it as a new column!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能是“测试”不是数据框架吗?
尝试:
Could it be 'test' is not a dataframe?
Try: