Python numpy.shape()函式可以找到一個陣列的形狀。 ... import numpy as np a = np.array([]) dimensions = np.shape(a) print(dimensions).
確定! 回上一頁