摘要:
###代码 import numpy as np a=np.arange(8).reshape(2,4) print(a) print(a.shape) b=a.reshape(8) print(b) print(b.shape) ###运行结果 [[0 1 2 3] [4 5 6 7]] (2, 阅读全文
posted @ 2021-05-18 18:10
sgggr
阅读(2098)
评论(0)
推荐(0)
摘要:
https://www.cnblogs.com/geeksongs/p/10648044.html 由于笔者自己经常忘记了如何查看Python的安装路径,又经常会用到Python的安装路径,因此记录一下,我们可以在命令行模式下输入: >>> import sys >>> sys.path ['', 阅读全文
posted @ 2021-05-18 15:35
sgggr
阅读(202)
评论(0)
推荐(0)