2018年3月7日

How to debug in python

摘要: Add below line to where you want to check. import pdb; pdb.set_trace() # stop here. 阅读全文

posted @ 2018-03-07 17:22 cdekelon 阅读(79) 评论(0) 推荐(0) 编辑

np.stack

摘要: http://blog.csdn.net/csdn15698845876/article/details/73380803 阅读全文

posted @ 2018-03-07 16:24 cdekelon 阅读(177) 评论(0) 推荐(0) 编辑

numpy guide

摘要: https://www.cnblogs.com/xinchrome/p/5043480.html https://wizardforcel.gitbooks.io/ts-numpy-tut/content/15.html 一、数组方法 创建数组:arange()创建一维数组;array()创建一维或 阅读全文

posted @ 2018-03-07 15:59 cdekelon 阅读(141) 评论(0) 推荐(0) 编辑

array , asarray, len , shape, np.squeeze , [0,0:4] 降维

摘要: http://blog.csdn.net/lanchunhui/article/details/55657040 >>> g = np.array([[ 40.47109199 , -10.01622954 , 275.29573762 , 311.23186909 , 0.99994779]] > 阅读全文

posted @ 2018-03-07 15:08 cdekelon 阅读(351) 评论(0) 推荐(0) 编辑

lambda 表达式

摘要: https://www.cnblogs.com/hf8051/p/8085424.html https://www.cnblogs.com/guigujun/p/6134828.html https://www.cnblogs.com/AlwaysWIN/p/6202320.html 阅读全文

posted @ 2018-03-07 14:54 cdekelon 阅读(62) 评论(0) 推荐(0) 编辑

os.path.split()

摘要: 、os.path.split()函数语法:os.path.split('PATH') 参数说明: 实际上,该函数的分割并不智能,它仅仅是以 "PATH" 中最后一个 '/' 作为分隔符,分隔后,将索引为0的视为目录(路径),将索引为1的视为文件名,如: >>> import os>>> os.pat 阅读全文

posted @ 2018-03-07 14:48 cdekelon 阅读(165) 评论(0) 推荐(0) 编辑

导航