You can use numpy.random.shuffle() . This function only shuffles the array along the first axis of a multi-dimensional array.
確定! 回上一頁