Np.argwhere(np.isnan(x)) determines the position of the Nan (or inf) value in the array/matrix:, Programmer Sought, the best programmer technical posts ...
確定! 回上一頁