摘要:
import time time_start=time.time() time_end=time.time() print('totally cost',time_end-time_start) 阅读全文
posted @ 2017-10-25 15:53
Anlovescode
阅读(96977)
评论(0)
推荐(3)
摘要:
array 的创建可以通过list给 array print出来像一个表格,可以按行按列来观察。 原来是一个list相当于一行 np.where用于寻找一个condition下的坐标,返回的是一个2个元素的tuple,第一个元素是一个array,第二个是数据类型 代码的作用是找到返回的下标里的最大值 阅读全文
posted @ 2017-10-25 15:52
Anlovescode
阅读(2264)
评论(0)
推荐(1)
摘要:
对某一个位置排列 此方法针对按每个list排列,按照第一列元素排序。 阅读全文
posted @ 2017-10-25 15:39
Anlovescode
阅读(424)
评论(0)
推荐(0)

浙公网安备 33010602011771号