- 博客(1)
- 收藏
- 关注
原创 python不同数组表达方式的区别
import numpy as np test = np.array([1,3,5]) print(test.shape) print(test) print('=='*10) test1 = test.reshape(1,-1) print(test1.shape) print(test1) print('=='*10) test2 = test.reshape(-1,1) print(test2.shape) print(test2) /Library/Frameworks/Python.fra.
2021-03-16 15:01:29
160
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人