File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,21 @@ Python数据分析之泰坦尼克沉船统计
5
5
6
6
目前处于学习阶段,只能通过大量动手实践,才能提升水平,免不了模仿别人。看着人家做出来的东西感觉很轻松,自己亲自动手做一遍才知道其实不容易。原文中注释都使用英文来写,很多地方不大好理解,本文添加了很多翻译,可能更容易理解一些。亲自动手做一遍,能够体会到Python数据分析的乐趣,也是促使你继续学习下去的动力。
7
7
8
+ 数据准备:
9
+ -------
10
+ 需要到Kaggle官网下载泰坦尼克沉船数据。(需翻墙)
11
+ https://www.kaggle.com/c/titanic/data
12
+
8
13
环境准备:
9
14
-------
10
- Mac os 10.11.6 + Anaconda Navigator 1.2.1+ Python 2.7.12
15
+ Mac os 10.11.6 + Anaconda Navigator 1.2.1 + Python 2.7.12
16
+ 主要用到的是Python数据分析那一套包,只要安装Anaconda,那些包就自动全包括在内。其次是安装seaborn进行图形输出处理。
11
17
12
18
原文链接:
13
19
-------
14
20
http://bigbigben.com/2018/02/10/python-smtplib/
15
21
16
22
执行结果:
17
23
-------
24
+ 用Anaconda里面Jupyter Notebook一步步写完整个过程后,将得到的Titanic.ipynb文件使用Jupyter nbviewer进行转换,得到下面这个链接,观看更加直观。
18
25
http://nbviewer.jupyter.org/github/benbendemo/learning-python/blob/master/titanic/Titanic.ipynb
You can’t perform that action at this time.
0 commit comments