create 2D array. the_array = np.arange( 50 ).reshape(( 5 , 10 )). # row manipulation. np.random.shuffle(the_array). # display random rows.
確定! 回上一頁