Python numpy Pandas 异常值

异常值包含哪些?

NaN?  无穷?

data.isnull().any()

如何去除异常值?

corrResult.replace(np.nan, 0) #删除无穷大的值

ValueError: The condensed distance matrix must contain only finite values.

posted @ 2022-03-20 21:37  bH1pJ  阅读(100)  评论(0编辑  收藏  举报