spark Infinate 的处理

去掉infinity数据的方法:

absperrordf_rdd = absperrordf.rdd.filter(lambda x: (np.isinf(float(x.avgperror)) == False))
原文地址:https://www.cnblogs.com/sunhuahuaa/p/10675776.html