numpy genfromtxt not applying missing_values
问题 I am currently struggling with a really simple problem, but cannot seem to solve it. You can reproduce the issue with the following file and code: test.csv 2020081217,28.6 2020081218,24.7 2020081219,-999.0 2020081220,-999.0 2020081221,-999.0 code data = np.genfromtxt("C:/Users/col/Downloads/test.csv", delimiter=',', missing_values=["-999", "-999.0", -999, -999.0]) print(data) output [[ 2.02008122e+09 2.86000000e+01] [ 2.02008122e+09 2.47000000e+01] [ 2.02008122e+09 -9.99000000e+02] [ 2