numpy基礎代碼操練

In [20]: b[0,:,1] Out[20]: array([1, 5, 9]) In [21]: b[0,:,1] Out[21]: array([1, 5, 9]) In [22]: b[0,:,-1] Out[22]: array([ 3, 7, 11]) In [23]: b[0,::-1, -1] Out[23]: array([11, 7, 3]) In [24]:
相關文章
相關標籤/搜索