Dataframe 均值计算输出似乎有误

Dataframe mean calculation output seems wrong

我试图找到表达基因的平均值,但 pandas 给我的结果与我预期的不同:

>>> np.mean(dataFrameLiverMean.loc[:,"ENSG00000000003.14"])
-1.708035422500241e-17
>>> dataFrameLiverMean.mean(axis=0)
ENSG00000000003.14    1.067522e-17
# clipped

See results here

我做错了什么?

您的平均值几乎为零 (10^-17),甚至低于数据类型的 machine precision(numpy 的浮点数 64 的精度为 2.22044604925e-16)。

我认为你观察到的只是噪音。