tabletable.compute("Var()",filter)产生错误的结果 [英] tabletable.compute("Var()", filter ) produces wrong result

查看:112
本文介绍了tabletable.compute("Var()",filter)产生错误的结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想计算我的数据表对象中col的方差.如果我应用datatable.compute(Var(...)),则给出否定结果.方差不能为负.而且我只是将其应用于一半的数据,效果很好.问题是什么?

感谢

I want to calculate variance of a col in my datatable object. If i apply datatable.compute(Var(...)), i gives a negative result. Variance can't be negative. And it I just apply it to half of the data, it works fine. What is the problem? Does datatable.compute has a limited capacity?

Thanks

推荐答案

您用于计算var的列中是否有任何空值?
Is there any null value in the column you are using to calculate var?


这篇关于tabletable.compute("Var()",filter)产生错误的结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆