摘要: http://blog.csdn.net/churximi/article/details/51648388 enumerate()说明 enumerate()是python的内置函数 enumerate在字典上是枚举、列举的意思 对于一个可迭代的(iterable)/可遍历的对象(如列表、字符串) 阅读全文
posted @ 2017-12-07 10:28 quietwalk 阅读(10331) 评论(2) 推荐(0) 编辑
摘要: https://www.cnblogs.com/onepeace/p/4791578.html set原理 Python 还 包 含 了 一 个 数 据 类 型—— set ( 集 合 ) 。 集 合 是 一 个 无 序 不 重 复 元素 的 集 。 基 本 功 能 包 括 关 系 测 试 和 消 阅读全文
posted @ 2017-12-07 10:19 quietwalk 阅读(947) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/yongh701/article/details/50283689 在Python的numpy中,对类似array=[[1,2,3],[4,5,6],[7,8,9]];的二维数组的转置,就一句话array.T。其实不使用numpy,单纯使用Python,代码 阅读全文
posted @ 2017-12-07 10:01 quietwalk 阅读(1853) 评论(0) 推荐(1) 编辑