Python Fundamentals and Big Data Applications cover

Python Fundamentals and Big Data Applications

Rating 3.0
Word count
104K words
Chapters
247
ISBN
9787115517388

Tags

Summary

The content is organized to follow students' cognitive patterns and, in light of Python's characteristics, divides the material into two main parts: Python fundamentals and data analysis. The book has 11 chapters. The first six cover basic Python syntax and applications; the last five systematically explain how to crawl, process, and analyze data with Python. In addition to abundant examples, each chapter includes practice-oriented project exercises and extension projects to help readers apply what they learn. This book can serve as a textbook for computer science and related majors in higher education, as well as a self-study guide for Python enthusiasts.

Editor's review

Python Basics and Big Data Applications is a practical technical book for beginners published by Posts & Telecom Press in 2019. Author Ding Hui brings extensive teaching and hands-on experience, which helps the book strike a proper balance between depth and breadth. In terms of structure, it is clearly divided into two modules: Python language fundamentals and big data application practice. This progressive arrangement, from basic syntax to typical application scenarios, closely follows how learners actually absorb new material.

The book's core value lies in its "application-oriented" approach. Rather than simply listing grammar points, it treats Python as a tool and builds tightly around the real needs of data processing, analysis, and visualization. Its coverage of core data science libraries such as NumPy, Pandas, and Matplotlib is especially solid, and the case studies stay close to real business scenarios—data cleaning, statistical analysis, charting, and so on—which makes the book highly instructive for readers who want to quickly start solving practical problems.

That said, it should be noted objectively that the book's treatment of "big data" stays largely at the level of single-machine tools, with only limited coverage of distributed computing frameworks such as Hadoop and Spark. It may therefore be more accurately described as a "beginner-to-intermediate guide to Python data science applications." The language is plain, the steps are detailed, and the figures are clear, lowering the barrier to learning. Overall, this is a high-quality introductory and intermediate practical guide, especially suited to professionals and students who need to apply Python quickly to data analysis work.

Who it's for

A good fit for

  • Beginners who want to learn Python systematically and apply it to data analysis and processing
  • Professionals with some programming background who want to move into data science or data analysis
  • Readers who need a reference book combining basic syntax with hands-on use of data science libraries such as Pandas and NumPy
  • University students in computer science, statistics, economics and management, and related majors who are taking courses in Python and data analysis

Not a good fit for

  • Readers seeking in-depth explanation of machine learning and deep learning algorithm principles and advanced implementations
  • Readers who want to systematically learn the core technologies of distributed big data frameworks such as Hadoop and Spark

Reading tips

  1. Reading in chapter order is recommended: build a solid foundation in Python syntax first, then move on to the data analysis libraries
  2. Be sure to run the code and case studies in the practice sections yourself—this is key to mastering the book's content
  3. The book can serve as a core textbook, supplemented by official documentation and online communities to resolve deeper questions encountered while learning

About the publisher

Posts & Telecom Press China · Founded in 1953

Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.

Contents

  1. 版权信息
  2. 内容提要
  3. 前言
  4. 第1章 Python环境搭建
  5. 1.1 Python版本概述及下载Python安装文件
  6. 1.1.1 Python版本概述
  7. 1.1.2 下载Python安装文件
  8. 1.2 安装Python
  9. 1.2.1 解压下载的文件
  10. 1.2.2 运行Python安装文件
  11. 1.3 Python交互模式
  12. 1.4 iPython 3 和PyCharm概述
  13. 1.4.1 iPython 3 概述
  14. 1.4.2 PyCharm概述
  15. 1.5 项目训练:Python的安装与使用
  16. 1.6 本章小结
  17. 1.7 练习
  18. 1.8 拓展训练项目
  19. 第2章 Python编程基础
  20. 2.1 变量
  21. 2.2 数值
  22. 2.2.1 整型
  23. 2.2.2 浮点型
  24. 2.2.3 复数型
  25. 2.2.4 布尔型
  26. 2.3 字符串
  27. 2.3.1 转义字符
  28. 2.3.2 字符串运算
  29. 2.3.3 字符串操作方法
  30. 2.4 列表
  31. 2.4.1 列表的创建与删除
  32. 2.4.2 列表操作方法
  33. 2.4.3 列表切片操作
  34. 2.5 元组
  35. 2.6 字典
  36. 2.6.1 字典的创建与访问
  37. 2.6.2 字典元素的修改
  38. 2.6.3 字典操作方法
  39. 2.7 运算符
  40. 2.7.1 算术运算符
  41. 2.7.2 位运算符
  42. 2.7.3 逻辑运算符
  43. 2.7.4 比较运算符
  44. 2.7.5 赋值运算符
  45. 2.7.6 其他运算符
  46. 2.8 Python代码编写规范
  47. 2.9 控制流
  48. 2.9.1 顺序结构程序
  49. 2.9.2 分支结构程序
  50. 2.9.3 循环结构程序
  51. 2.10 项目训练:个人所得税计算
  52. 2.11 本章小结
  53. 2.12 练习
  54. 2.13 拓展训练项目
  55. 2.13.1 Python数值型变量的定义与赋值
  56. 2.13.2 Python控制流和运算符
  57. 2.13.3 列表的基本操作
  58. 2.13.4 元组的基本操作
  59. 2.13.5 字典的基本操作
  60. 2.13.6 字符串的基本操作
  61. 第3章 函数
  62. 3.1 自定义函数
  63. 3.1.1 函数定义格式
  64. 3.1.2 函数的设计
  65. 3.1.3 lambda表达式
  66. 3.2 函数调用
  67. 3.3 函数参数
  68. 3.3.1 位置参数
  69. 3.3.2 默认参数
  70. 3.3.3 关键参数
  71. 3.3.4 可变长度参数
  72. 3.4 变量作用域
  73. 3.4.1 局部变量
  74. 3.4.2 全局变量
  75. 3.5 异常
  76. 3.5.1 Python标准异常类
  77. 3.5.2 异常处理
  78. 3.6 项目训练:哥德巴赫狂想 ——任何大于 2 的偶数总可以分解成两个素数的和
  79. 3.7 本章小结
  80. 3.8 练习
  81. 3.9 拓展训练项目
  82. 3.9.1 用函数实现乘法口诀
  83. 3.9.2 Python函数参数
  84. 3.9.3 Python局部变量和全局变量
  85. 3.9.4 Python异常捕获与处理
  86. 第4章 面向对象编程基础
  87. 4.1 类和对象
  88. 4.1.1 类
  89. 4.1.2 对象
  90. 4.2 属性与方法
  91. 4.2.1 属性
  92. 4.2.2 方法
  93. 4.3 继承
  94. 4.4 多态
  95. 4.5 项目训练:简单学生成绩管理系统
  96. 4.6 本章小结
  97. 4.7 练习
  98. 4.8 拓展训练项目
  99. 4.8.1 Python类与对象
  100. 4.8.2 类方法、实例方法和静态方法
  101. 4.8.3 类继承、组合
  102. 4.8.4 类的多重继承
  103. 第5章 模块
  104. 5.1 模块的创建和命名空间
  105. 5.1.1 模块的创建
  106. 5.1.2 命名空间
  107. 5.2 模块的导入和路径
  108. 5.2.1 模块的导入
  109. 5.2.2 模块的路径
  110. 5.3 包
  111. 5.4 Python内置模块
  112. 5.4.1 math模块
  113. 5.4.2 random模块
  114. 5.4.3 time模块
  115. 5.4.4 datetime模块
  116. 5.4.5 calendar模块
  117. 5.4.6 sys模块
  118. 5.4.7 zipfile模块
  119. 5.5 项目训练:日历
  120. 5.6 本章小结
  121. 5.7 练习
  122. 5.8 拓展训练项目
  123. 5.8.1 Python模块导入
  124. 5.8.2 zipfile模块的使用
  125. 5.8.3 Python模块的属性
  126. 5.8.4 Python模块内置函数
  127. 第6章 Python文件和数据库
  128. 6.1 文件的基本操作
  129. 6.1.1 内置函数open()
  130. 6.1.2 文件对象常用的属性和方法
  131. 6.1.3 文件操作案例
  132. 6.2 文件系统的基本操作
  133. 6.3 MySQL数据库
  134. 6.3.1 MySQL简介
  135. 6.3.2 安装MySQL
  136. 6.3.3 使用Python连接MySQL数据库
  137. 6.3.4 MySQL的基本操作
  138. 6.4 项目训练:使用Python完成课程表和学生信息表的创建
  139. 6.5 本章小结
  140. 6.6 练习
  141. 6.7 拓展训练项目
  142. 6.7.1 安装MySQL数据库和Python连接数据库
  143. 6.7.2 使用Python实现MySQL增查改删
  144. 6.7.3 Python文件的基本操作
  145. 6.7.4 Python文件目录的基本操作
  146. 第7章 Python爬虫基础
  147. 7.1 网络爬虫概述及其结构
  148. 7.1.1 网络爬虫概述
  149. 7.1.2 网络爬虫结构
  150. 7.2 urllib库
  151. 7.2.1 urllib.request模块
  152. 7.2.2 urllib.parse模块
  153. 7.2.3 urllib.error模块
  154. 7.3 使用urllib爬取网页
  155. 7.4 浏览器的模拟与实战
  156. 7.5 正则表达式
  157. 7.6 图片爬虫实战
  158. 7.7 项目训练:用urllib库爬取百度贴吧
  159. 7.8 本章小结
  160. 7.9 练习
  161. 7.10 拓展训练项目
  162. 7.10.1 urllib库的使用
  163. 7.10.2 百度贴吧网页爬虫
  164. 7.10.3 淘宝网站图片爬虫
  165. 第8章 Python爬虫框架
  166. 8.1 常见爬虫框架
  167. 8.2 Scrapy爬虫框架的安装
  168. 8.3 Scrapy爬虫框架简介
  169. 8.4 Scrapy常用工具命令
  170. 8.4.1 创建一个Scrapy项目
  171. 8.4.2 Scrapy全局命令
  172. 8.4.3 Scrapy项目命令
  173. 8.5 Scrapy爬虫实战
  174. 8.6 项目训练:用Scrapy爬取豆瓣图书
  175. 8.7 本章小结
  176. 8.8 练习
  177. 8.9 拓展训练项目
  178. 8.9.1 Scrapy框架的安装及使用
  179. 8.9.2 Scrapy命令行工具
  180. 第9章 数据分析基础
  181. 9.1 numpy模块
  182. 9.1.1 ndarray类型数组
  183. 9.1.2 matrix类型矩阵
  184. 9.1.3 matrix类型和array类型的区别
  185. 9.2 pandas模块
  186. 9.2.1 pandas模块基础
  187. 9.2.2 pandas模块数据清洗
  188. 9.2.3 pandas模块数据预处理
  189. 9.2.4 pandas模块数据提取
  190. 9.2.5 pandas模块数据筛选
  191. 9.2.6 pandas模块数据汇总
  192. 9.2.7 pandas模块数据统计
  193. 9.2.8 pandas模块综合应用示例
  194. 9.3 项目训练:清洗和预处理 8.6 节中爬取的doubanread.csv文件
  195. 9.4 本章小结
  196. 9.5 练习
  197. 9.6 拓展训练项目
  198. 9.6.1 pandas 基本功能实验
  199. 9.6.2 pandas 汇总和计算实验
  200. 9.6.3 pandas 缺失数据处理
  201. 9.6.4 pandas 构建层次化索引
  202. 第10章 pandas数据分析
  203. 10.1 pandas文件读写基础
  204. 10.1.1 CSV文件的读写
  205. 10.1.2 Excel文件的读写
  206. 10.2 pandas与MySQL数据库的交互
  207. 10.2.1 pandas与MySQL连接的步骤
  208. 10.2.2 pandas与MySQL交互
  209. 10.3 pandas字符串处理
  210. 10.4 pandas数据分组与聚合
  211. 10.4.1 使用内置的聚合函数进行聚合运算
  212. 10.4.2 分组与聚合过程
  213. 10.4.3 agg()和apply()聚合函数
  214. 10.5 项目训练:电影数据统计
  215. 10.6 本章小结
  216. 10.7 练习
  217. 10.8 拓展训练项目
  218. 10.8.1 pandas文件读写
  219. 10.8.2 pandas数据库读写
  220. 10.8.3 pandas数据处理
  221. 10.8.4 pandas数据聚合和组迭代
  222. 第11章 Python可视化与可视化工具
  223. 11.1 Python可视化与可视化工具介绍
  224. 11.2 pandas基本图形绘制
  225. 11.2.1 折线图
  226. 11.2.2 柱状图
  227. 11.2.3 直方图
  228. 11.2.4 散点图
  229. 11.2.5 面积图
  230. 11.2.6 饼图
  231. 11.2.7 密度图
  232. 11.3 matplotlib绘图
  233. 11.3.1 matplotlib绘图基础
  234. 11.3.2 matplotlib交互绘图
  235. 11.4 matplotlib.pyplot的使用
  236. 11.4.1 pyplot绘图基础
  237. 11.4.2 多种类型图的绘制
  238. 11.5 项目训练:电影数据信息分析
  239. 11.6 本章小结
  240. 11.7 练习
  241. 11.8 拓展训练项目
  242. 11.8.1 pandas绘图
  243. 11.8.2 matplotlib交互式绘图实践
  244. 11.8.3 pyplot绘图元素的设置
  245. 11.8.4 子图的绘制
  246. 附录
  247. 参考文献

FAQ

Is this book suitable for complete programming beginners?
Very suitable. The book starts with setting up the Python environment and basic syntax, proceeds step by step, and includes detailed case studies—very friendly to beginners.
What level can I reach after finishing this book?
You will be proficient in core Python syntax and able to use libraries such as Pandas and NumPy to independently complete general data cleaning, analysis, and visualization tasks, giving you the foundational practical skills to enter the field of data science.
What makes this book distinctive compared with similar titles?
Its distinction lies in seamlessly connecting Python fundamentals with data science applications, with a clear goal (serving data analysis) and strong practicality. It avoids the common problems of learning syntax in isolation or jumping into applications without a foundation.

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

About the author

丁辉 Author

Ding Hui (public information on the author's English name, nationality, dates of birth and death, and similar details is limited and cannot be further confirmed) is an author whose works span several fields. Three titles are included in the collection, covering cross-border e-commerce, programming and big data applications, and inspirational personal growth. Among them, Cross-Border E-Commerce Multi-Platform Operations: Practical Basics (4th Edition) focuses on the practical fundamentals of multi-platform operations; Python Basics and Big Data Applications is aimed at programming beginners and data applications; and Reversing the Opening is oriented toward personal growth and inspiration. Ding Hui's writing thus combines practicality with readability, addressing management and operations as well as information technology, while also touching on growth topics for general readers. The works commonly appear in categories such as management, examinations, and inspirational growth, and are suited to readers seeking practical methods or self-improvement. Because public information is limited, further details about the author's personal background cannot be provided.

商俊燕 Author

Shang Junyan is an author about whom limited public information is available. Her one confirmed work is Python Basics and Big Data Applications, which is catalogued under exam preparation, suggesting that its content is aimed at test preparation, course study, or related skills assessment. Judging from the title, the book covers both the fundamentals of Python programming and big data applications, and its writing appears to focus on systematically organizing key knowledge points and providing introductory training in practical skills, so that readers can progress step by step toward their study or examination goals. Since only this one work is included and details such as nationality, dates of birth and death, and English name cannot be verified, no further information about the author's educational background, professional identity, or writing career can be provided. Overall, Shang Junyan's writing centers on textbook and exam-preparation materials, suitable for readers with clear learning or test-preparation needs.

伍转华 Author

Wu Zhuanhua is an author about whom limited public information is available; the library currently holds only one work by this author, Python Basics and Big Data Applications. Judging from the title and the common category of examinations, the book appears to address the needs of beginners learning programming and the fundamentals of big data, combining basic language instruction with guidance on practical application. As no information on birth and death dates, nationality, education, or professional experience can be confirmed, this profile makes no speculation and invents no details about mentorship or career background. Based on the available clues, Wu Zhuanhua's writing follows a practical, textbook-style approach, linking Python syntax with basic methods of big data processing for course study or examination preparation. Readers may regard the work as an introductory reference, while a fuller account of the author's life and writing remains to be supplied by public sources.

林雪纲 Author

Lin Xuegang is an author active in writing books on computing and data analysis. Public information about him is limited: his nationality, dates of birth and death, education, and professional positions are not clearly recorded, and only four works are known under his name. These works cover mobile development, programming languages, data processing, and big data technologies, including Android and Hadoop development tutorials that combine case studies with online experiments, an introduction to Python fundamentals and big data applications, and a practical guide to data analysis based on Excel. His writing clearly emphasizes hands-on practice and case-based exercises, often paired with online experiments and self-tests so that readers can learn by doing. In book classifications, his works are usually placed under general computing and examination categories, making them suitable as course textbooks or self-study references.

More by the same author

Top rated in the same category