diff --git a/.idea/Mybook.iml b/.idea/Mybook.iml deleted file mode 100755 index 032c3de..0000000 --- a/.idea/Mybook.iml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100755 index c23ecac..0000000 --- a/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100755 index ef11d87..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100755 index aee895c..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/preferred-vcs.xml b/.idea/preferred-vcs.xml deleted file mode 100644 index 848cfc4..0000000 --- a/.idea/preferred-vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - ApexVCS - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100755 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Asset/cover.jpeg b/Asset/cover.jpeg new file mode 100644 index 0000000..aad8357 Binary files /dev/null and b/Asset/cover.jpeg differ diff --git a/pics/Corr_Mat.png b/Pics/Corr_Mat.png similarity index 100% rename from pics/Corr_Mat.png rename to Pics/Corr_Mat.png diff --git a/pics/Data_visualization_process_v1.png b/Pics/Data_visualization_process_v1.png similarity index 100% rename from pics/Data_visualization_process_v1.png rename to Pics/Data_visualization_process_v1.png diff --git a/pics/Email1.png b/Pics/Email1.png similarity index 100% rename from pics/Email1.png rename to Pics/Email1.png diff --git a/pics/Mxlsx.png b/Pics/Mxlsx.png similarity index 100% rename from pics/Mxlsx.png rename to Pics/Mxlsx.png diff --git a/pics/QP1.png b/Pics/QP1.png similarity index 100% rename from pics/QP1.png rename to Pics/QP1.png diff --git a/pics/QQ_DA.png b/Pics/QQ_DA.png similarity index 100% rename from pics/QQ_DA.png rename to Pics/QQ_DA.png diff --git a/pics/Spider1.png b/Pics/Spider1.png similarity index 100% rename from pics/Spider1.png rename to Pics/Spider1.png diff --git a/pics/Tom.png b/Pics/Tom.png similarity index 100% rename from pics/Tom.png rename to Pics/Tom.png diff --git a/pics/UA.png b/Pics/UA.png similarity index 100% rename from pics/UA.png rename to Pics/UA.png diff --git a/pics/V4_Chi.png b/Pics/V4_Chi.png similarity index 100% rename from pics/V4_Chi.png rename to Pics/V4_Chi.png diff --git a/pics/V4_Cos.png b/Pics/V4_Cos.png similarity index 100% rename from pics/V4_Cos.png rename to Pics/V4_Cos.png diff --git a/pics/V4_cos_sin.png b/Pics/V4_cos_sin.png similarity index 100% rename from pics/V4_cos_sin.png rename to Pics/V4_cos_sin.png diff --git a/pics/V4_fill.png b/Pics/V4_fill.png similarity index 100% rename from pics/V4_fill.png rename to Pics/V4_fill.png diff --git a/pics/V4_pandas_bar.png b/Pics/V4_pandas_bar.png similarity index 100% rename from pics/V4_pandas_bar.png rename to Pics/V4_pandas_bar.png diff --git a/pics/V4_pandas_bar1.png b/Pics/V4_pandas_bar1.png similarity index 100% rename from pics/V4_pandas_bar1.png rename to Pics/V4_pandas_bar1.png diff --git a/pics/V4_pandas_boxplot.png b/Pics/V4_pandas_boxplot.png similarity index 100% rename from pics/V4_pandas_boxplot.png rename to Pics/V4_pandas_boxplot.png diff --git a/pics/V4_pandas_hist.png b/Pics/V4_pandas_hist.png similarity index 100% rename from pics/V4_pandas_hist.png rename to Pics/V4_pandas_hist.png diff --git a/pics/V4_pandas_plot.png b/Pics/V4_pandas_plot.png similarity index 100% rename from pics/V4_pandas_plot.png rename to Pics/V4_pandas_plot.png diff --git a/pics/V4_pandas_scatter.png b/Pics/V4_pandas_scatter.png similarity index 100% rename from pics/V4_pandas_scatter.png rename to Pics/V4_pandas_scatter.png diff --git a/pics/V4_snscountplot.png b/Pics/V4_snscountplot.png similarity index 100% rename from pics/V4_snscountplot.png rename to Pics/V4_snscountplot.png diff --git a/pics/V4_snsfactor.png b/Pics/V4_snsfactor.png similarity index 100% rename from pics/V4_snsfactor.png rename to Pics/V4_snsfactor.png diff --git a/pics/V4_snskde.png b/Pics/V4_snskde.png similarity index 100% rename from pics/V4_snskde.png rename to Pics/V4_snskde.png diff --git a/pics/V4_snslmplot.png b/Pics/V4_snslmplot.png similarity index 100% rename from pics/V4_snslmplot.png rename to Pics/V4_snslmplot.png diff --git a/pics/V4_snsviolin.png b/Pics/V4_snsviolin.png similarity index 100% rename from pics/V4_snsviolin.png rename to Pics/V4_snsviolin.png diff --git a/pics/V4_subplot.png b/Pics/V4_subplot.png similarity index 100% rename from pics/V4_subplot.png rename to Pics/V4_subplot.png diff --git a/pics/V4_wc.png b/Pics/V4_wc.png similarity index 100% rename from pics/V4_wc.png rename to Pics/V4_wc.png diff --git a/pics/all_plot.png b/Pics/all_plot.png similarity index 100% rename from pics/all_plot.png rename to Pics/all_plot.png diff --git a/pics/boxplot.png b/Pics/boxplot.png similarity index 100% rename from pics/boxplot.png rename to Pics/boxplot.png diff --git a/pics/chardet.png b/Pics/chardet.png similarity index 100% rename from pics/chardet.png rename to Pics/chardet.png diff --git a/pics/chars.png b/Pics/chars.png similarity index 100% rename from pics/chars.png rename to Pics/chars.png diff --git a/pics/charset2.png b/Pics/charset2.png similarity index 100% rename from pics/charset2.png rename to Pics/charset2.png diff --git a/pics/cookie.png b/Pics/cookie.png similarity index 100% rename from pics/cookie.png rename to Pics/cookie.png diff --git a/pics/json1.png b/Pics/json1.png similarity index 100% rename from pics/json1.png rename to Pics/json1.png diff --git a/pics/json2.png b/Pics/json2.png similarity index 100% rename from pics/json2.png rename to Pics/json2.png diff --git a/pics/json3.png b/Pics/json3.png similarity index 100% rename from pics/json3.png rename to Pics/json3.png diff --git a/pics/movie_data.png b/Pics/movie_data.png similarity index 100% rename from pics/movie_data.png rename to Pics/movie_data.png diff --git a/pics/numpy.png b/Pics/numpy.png similarity index 100% rename from pics/numpy.png rename to Pics/numpy.png diff --git a/pics/nums.png b/Pics/nums.png similarity index 100% rename from pics/nums.png rename to Pics/nums.png diff --git a/pics/outliers.png b/Pics/outliers.png similarity index 100% rename from pics/outliers.png rename to Pics/outliers.png diff --git a/pics/pair_plot.png b/Pics/pair_plot.png similarity index 100% rename from pics/pair_plot.png rename to Pics/pair_plot.png diff --git a/pics/pca1.png b/Pics/pca1.png similarity index 100% rename from pics/pca1.png rename to Pics/pca1.png diff --git a/pics/pi.png b/Pics/pi.png similarity index 100% rename from pics/pi.png rename to Pics/pi.png diff --git a/pics/sepal_plot.png b/Pics/sepal_plot.png similarity index 100% rename from pics/sepal_plot.png rename to Pics/sepal_plot.png diff --git a/pics/tree.png b/Pics/tree.png similarity index 100% rename from pics/tree.png rename to Pics/tree.png diff --git "a/pics/\345\244\232\347\272\277\347\250\2131.png" "b/Pics/\345\244\232\347\272\277\347\250\2131.png" similarity index 100% rename from "pics/\345\244\232\347\272\277\347\250\2131.png" rename to "Pics/\345\244\232\347\272\277\347\250\2131.png" diff --git "a/pics/\345\244\232\347\272\277\347\250\2132.png" "b/Pics/\345\244\232\347\272\277\347\250\2132.png" similarity index 100% rename from "pics/\345\244\232\347\272\277\347\250\2132.png" rename to "Pics/\345\244\232\347\272\277\347\250\2132.png" diff --git "a/pics/\350\247\243\346\236\2201.png" "b/Pics/\350\247\243\346\236\2201.png" similarity index 100% rename from "pics/\350\247\243\346\236\2201.png" rename to "Pics/\350\247\243\346\236\2201.png" diff --git "a/pics/\350\247\243\346\236\2202.png" "b/Pics/\350\247\243\346\236\2202.png" similarity index 100% rename from "pics/\350\247\243\346\236\2202.png" rename to "Pics/\350\247\243\346\236\2202.png" diff --git "a/pics/\350\247\243\346\236\2203.png" "b/Pics/\350\247\243\346\236\2203.png" similarity index 100% rename from "pics/\350\247\243\346\236\2203.png" rename to "Pics/\350\247\243\346\236\2203.png" diff --git "a/pics/\350\247\243\346\236\2204.png" "b/Pics/\350\247\243\346\236\2204.png" similarity index 100% rename from "pics/\350\247\243\346\236\2204.png" rename to "Pics/\350\247\243\346\236\2204.png" diff --git a/README.md b/README.md index cd87748..91883f4 100644 --- a/README.md +++ b/README.md @@ -1,50 +1,24 @@ -### 《Python数据分析入门————从数据获取到可视化》 +# 《Python数据分析入门——从数据获取到可视化》 -#### 概览 +

+ +

-这里是本书中使用的所有源代码,数据等文件。关于本书的一些最新的进展的也会第一时间在这里公布。希望本书能对大家有所帮助。 +## News +- Coming: 《写于出版6周年之后》 +## 概览 -#### 问题提交 +书籍[《Python数据分析入门——从数据获取到可视化》](http://www.broadview.com.cn/book/5010) +中使用的所有源代码,数据等文件。 +关于本书的一些最新的进展的也会第一时间在这里公布。 +希望本书能对大家有所帮助。 -如果大家有问题和建议,可以直接在本项目提交issue(推荐),也可以发邮件给我(datahonor@gmail.com) -我会定期查看并尽快回复。 -(也有读者到[出版社](http://www.broadview.com.cn/book/5010) -提交勘误的,也是可以的,不过只建议在那里提交typo相关的, -涉及到代码还是建议在Github提issue,方便一些)。 +## 反馈建议 -#### 勘误 +- Issue/Discussion(推荐): 对于代码的问题可以提交Issue,对于其他问题可以在Discussion中讨论。 +- Email: 也可以发邮件给我(datahonor@gmail.com),我会定期查看并尽快回复。 -已更正: - -| 页码 | 错误 | 改正 | -|--------|--------|--------| -| 201 | 上方第一个阴影框(训练集数据)“种类”列最后两行将“bumpy”全改为“orange” | 第二次印刷时更正| -| 202 | 第三行,“是橙子还是水果”改为“是橙子还是苹果” |第二次印刷时更正| -| 99 | 代码框最后两行交换位置(因为多线程会把`urls`清空)| 第六次印刷时更正 | -| 115 |正文第三行“运行输出如下。”下面的输出有误,下面的数据需要我们自己手动创建 | 第六次印刷时更正 | -| 245 | 代码框,最上面应加上`import random as rnd`| 第六次印刷时更正 | -| 247,248 | 两个LP问题的目标函数漏掉,改正参考[博客](http://datahonor.com/2017/03/22/%E5%88%A9%E7%94%A8Python%E8%A7%A3%E7%BA%BF%E6%80%A7%E8%A7%84%E5%88%92%E9%97%AE%E9%A2%98-LP/)。 | 第六次印刷时更正 | -| 71-73 | 豆瓣模拟登录报错 | 第六次印刷时更正 | - - - -待更正: - -| 页码 | 错误 | 改正 | -|--------|--------|--------| - - - - - -#### 意见征集 - -个人认为,一本书在出版后绝对不是结束的标志,而是新一轮的开始。本书写作的初衷在于,当时国内很多的书并没有将数据爬取,数据处理,分析以及可视化放到一起来写,我认为这是一件值得去尝试的事情,所以才有了这本书。 - -在本书出版一年多来,根据各方的反馈也在不断进行着完善。于此同时也意识到书中存在的问题,比较核心的就在于知识的深度与广度之间的矛盾,本书是着眼于广度的,所以深度就有所欠缺。后面会考虑对内容进行删减,在顾及广度的同时突出重点(统计学方法,机器学习方法等算法)。 - -此外,如果有机会写第二版,会将文章核心内容以Jupyter notebook的形式呈现,以更好地说明问题。 - -如上所言,是有一些反馈,但是不太多。希望各位作为读者,在阅读完本书后能够写一些建议给我,我也能更好地明确下面修改的方向。 +## 勘误 +详见[勘误表](./errata.md)。 diff --git a/Report/.idea/.name b/Report/.idea/.name deleted file mode 100644 index ddf3b8c..0000000 --- a/Report/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -Report \ No newline at end of file diff --git a/Report/.idea/Report.iml b/Report/.idea/Report.iml deleted file mode 100644 index 2299d36..0000000 --- a/Report/.idea/Report.iml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/Report/.idea/misc.xml b/Report/.idea/misc.xml deleted file mode 100644 index 6a13835..0000000 --- a/Report/.idea/misc.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - ApexVCS - - - \ No newline at end of file diff --git a/Report/.idea/modules.xml b/Report/.idea/modules.xml deleted file mode 100644 index 68b3ff3..0000000 --- a/Report/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/Report/.idea/workspace.xml b/Report/.idea/workspace.xml deleted file mode 100644 index 89413d5..0000000 --- a/Report/.idea/workspace.xml +++ /dev/null @@ -1,533 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 阿良 - 每个人都有故事每个人都有视角每个人都有选择 - 请善良,因为我们每个人都在和生活苦斗 - - - - - - - - - true - DEFINITION_ORDER - - - - - - - - - - - - - - - - - - - - - - - - - - -