Use numpy.empty((x,y)) to create an uninitialized array with x rows and y columns. Then, assign NaN to all values in the array using the syntax array[:] ...
確定! 回上一頁