阅读背景:

在二维数组中广播1D数组用于lexsort:在考虑另一个向量时,用于单独排序每个列的置换

来源:互联网 

Consider the array a

考虑数组

np.random.seed([3,1415])
a = np.random.randint(10, size=(5, 4))
a

array([[0, 2, 7, 3],
       [8, 7, 0, 6],
       [8, 6, 0, 2],
       [0, 4, 9, 7],
       [3, 2, 4, 3]])
np.random.seed([3



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: