what does numpy ndarray shape do?

后端 未结 4 1903
野的像风
野的像风 2020-12-04 14:10

I have a simple question about the .shape function, which confused me a lot.

a = np.array([1, 2, 3])   # Create a rank 1 array
print(type(a))            # P         


        
4条回答
提交回复
热议问题