07 2021 档案
摘要:isnan 判断是否nan(not a number),一般是数值字段的空值。 isnull() 主要是判断字符型是否有值,可以判断所有的空值。但是python的数值字段比如int float 为空的时候默认是Nan numpy里边查找NaN值的话,就用np.isnan() pandas里边查找Na
阅读全文
摘要:np.triu(m, k),取矩阵a的上三角数据。斜线开始列位置由k确定 Signature: np**.triu(m,** k**=0)** Docstring: Upper triangle of an array. Return a copy of an array with the elem
阅读全文