摘要: 转载:https://blog.csdn.net/qq_42518956/article/details/103920470 阅读全文
posted @ 2020-05-20 17:33 像阳光,像春天 阅读(195) 评论(0) 推荐(0) 编辑
摘要: numpy.zeros_like(a):a是一个ndarray,即产生一个维度和a一样大小的全0数组。In [1]: a = np.arange(24).reshape(4,6) ... a_0 = np.zeros_like(a) ... a.shape ... a_0.shape ... a_0 阅读全文
posted @ 2020-05-20 15:54 像阳光,像春天 阅读(4368) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-20 14:32 像阳光,像春天 阅读(2844) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/cloud-ken/p/9931273.html 阅读全文
posted @ 2020-05-20 14:15 像阳光,像春天 阅读(125) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u013230189/article/details/82627375 阅读全文
posted @ 2020-05-20 13:49 像阳光,像春天 阅读(384) 评论(0) 推荐(0) 编辑
摘要: python中的OrderedDict 该类型存放顺序和添加顺序一致,比如逐个赋值,但和dict直接转化过去的顺序不一定一样. d1 = collections.OrderedDict() d1['b'] = 'B'd1['a'] = 'A'd1['c'] = 'C'd1['2'] = '2'd1[ 阅读全文
posted @ 2020-05-20 10:52 像阳光,像春天 阅读(6571) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-20 10:11 像阳光,像春天 阅读(300) 评论(0) 推荐(0) 编辑
摘要: https://product.pconline.com.cn/itbk/software/win10/1502/6104698.html 阅读全文
posted @ 2020-05-20 08:52 像阳光,像春天 阅读(136) 评论(0) 推荐(0) 编辑