1、P18
更改Python工作目录,这样才能在另一个py文件里调用。
参见:http://blog.csdn.net/stormbjm/article/details/8229346
http://jingyan.baidu.com/article/a3a3f811d29f328da2eb8aff.html
2、P19
tile函数:http://www.cnblogs.com/zibu1234/p/4210521.html
3、P19
argsort函数:http://www.cnblogs.com/yyxf1413/p/6253995.html
dict.get(index索引) 函数:http://www.runoob.com/python/att-dictionary-get.html 这个是针对字典dict的Python函数
4、P19
sorted函数:http://www.cnblogs.com/sysu-blackbear/p/3283993.html
sort本地排序,sorted是返回一个副本
5、P19
在Python3中,In Python3 dict.items()
does the same thing that dict.iteritems()
did in Python2. Just replace iteritems()
with items()
!这是一个修改的地方。
6、P19
关于字典排序。operator.itemgetter(1) 确定排序的域,以此作为key
7、step into单步调试; step into my code单步调试进入我的代码;
8、P22
关于reload:http://blog.csdn.net/python_tty/article/details/50441536
9、P23
关于散点图:http://blog.csdn.net/abcjennifer/article/details/19848269 要特别注意labels对于散点图的影响。
10、P27 :Python3格式化输出,直接用print(%),不加逗号。
见:http://blog.csdn.net/jcjc918/article/details/9354815