使用matplotlib的示例:调整字体-设置刻度、坐标、colormap和colorbar等
摘要:使用matplotlib的示例:调整字体-设置刻度、坐标、colormap和colorbar等 使用matplotlib的示例:调整字体-设置刻度、坐标、colormap和colorbar等 2013-08-09 19:04 27805人阅读 评论(1) 收藏 举报 2013-08-09 19:04
阅读全文
posted @
2016-06-07 16:52
qqhfeng16
阅读(29262)
推荐(0) 编辑
如何判断python的数据类型,用type函数
摘要:用 type 函数 In [29]: type(dataset) Out[29]: list 查询list的行数 In [38]: len(dataset) In [39]: Out[38]: 3691
阅读全文
posted @
2016-06-07 16:39
qqhfeng16
阅读(19600)
推荐(0) 编辑
Python 标准库 -> Pprint 模块 -> 用于打印 Python 数据结构
摘要:使用 pprint 模块 pprint 模块( pretty printer ) 用于打印 Python 数据结构. 当你在命令行下打印特定数据结构时你会发现它很有用(输出格式比较整齐, 便于阅读). import pprintdata = ( "this is a string", [1, 2,
阅读全文
posted @
2016-06-07 14:59
qqhfeng16
阅读(524)
推荐(0) 编辑