用法 :. ndarray.shape. 數組尺寸的元組。 shape屬性通常用於獲取數組的當前形狀,但也可以通過向其分配數組尺寸的元組來就地對數組進行整形。與 numpy.reshape ,新 ...
確定! 回上一頁