nan 和 inf nan的特殊属性 二个nan是不相等的 不是人的物种 与 不是人的物种 相等吗? 不一定,鸟 和 狗 都不是人,但是不是同一个物种 统计不为0的数据个数 np.count_nonzero(数据) <