check numpy.nan_to_num, nan=0 keyword
check numpy.nan_to_num, nan=0 keyword