Use np.rec.fromrecords. Examples. Create an array with two fields, x and y : >>> x = np.array([(1.0, 2), (3.0, 4)], dtype=[('x', '<f8'), ('y', ...
確定! 回上一頁