The simplest answer would just be: numpy_2d_arrays = np.array(dict["rings"]). As this avoids explicitly looping over your array in python ...
確定! 回上一頁