@@ -0,0 +1,13 @@
# 一维数组(向量)
vec = np.array([1, 2, 3, 4, 5])
print(vec) # [1 2 3 4 5]
# 二维数组(矩阵)
mat = np.array([
[1, 2, 3],
[4, 5, 6]
])
print(mat)
# [[1 2 3]
# [4 5 6]]
The note is not visible to the blocked user.