import numpy as np >>> a = np.array([1, 2, 3, 4, 5, 6]) >>> b = np.array([[1, 2], [3, 4], [5, ... 如果想知道陣列的形狀(Shape),可以透過 shape 屬性,例如:
確定! 回上一頁