Python Full-Stack Development: Data Analysis cover

Python Full-Stack Development: Data Analysis

No rating yet
Word count
481K words
Chapters
40
Series
Tsinghua Developer Library · Python
ISBN
9787302625001

Tags

Summary

This book is the third of four volumes in the "Python Full-Stack Development" series, part of the "Tsinghua Developer Library · Python" series from Tsinghua University Press, compiled by Xia Zhengdong. The book has seven chapters organized around the complete data analysis workflow: from data collection, data cleaning, and data analysis to data visualization, using nearly 400 sample code snippets to connect the core technologies needed at each stage. Chapter 1 covers web crawlers, including HTTP fundamentals, the urllib and requests network request libraries, regular expressions and web parsing libraries, Selenium browser simulation, multiprocess and multithreaded crawlers, mobile app data scraping (Charles packet capture), the Scrapy framework, and distributed crawlers. Chapters 2 and 3 systematically introduce NumPy and Pandas respectively, covering array creation, indexing and iteration, broadcasting, universal functions and linear algebra, as well as Series, DataFrame, long-wide data transformation, arithmetic operations, statistical methods, function application, sorting and deduplication, and CSV/Excel file reading and writing. Chapters 4 to 6 focus on visualization, covering Matplotlib (line, column, bar, pie, scatter, histogram, area, box, violin, heatmap, and subplots), Seaborn (various statistical charts, clustered heatmaps, and regression plots), and pyecharts (options configuration items, chained calls, and various chart types). Chapter 7 builds on the complete workflow of data collection, storage and retrieval, cleaning, analysis, and visualization to organize a comprehensive project practice, helping readers integrate scattered knowledge points into runnable engineering practice. The book can serve as a reference for computer software developers and as a teaching reference for university programs in computer science, software engineering, artificial intelligence, information management, and related fields.

Editor's review

数据分析的难点往往不在会用某个库,而在于把“取数—清洗—分析—出图”这条链路走通。本书按这条链路组织内容,顺序自然:先用爬虫把数据拿到手,再用NumPy与Pandas做整理计算,最后用Matplotlib、Seaborn、pyecharts三种可视化工具呈现结果,末尾以一个完整项目把前后环节串起来。全书配有近400个示例代码,各章节衔接紧密、内容精炼,读者可以按编排顺序循序渐进地敲一遍,也可以把某一章当作速查手册随用随翻。作为“Python全栈开发”系列的第三册,它与《基础入门》《高阶编程》《Web编程》分工明确,适合在掌握Python语法之后,集中补上数据处理与分析这一块能力。对于需要把爬虫、数据分析、可视化打包解决的高校课程教学和企业内训,这本书的体例也相对友好。

Who it's for

A good fit for

  • 已掌握Python基本语法,想系统补齐数据分析能力的开发者
  • 需要把爬虫抓取、数据清洗与图表展示串成完整流程的工程师
  • 计算机、软件工程、人工智能、信息管理等专业的学生与授课教师
  • 希望用一本书快速上手NumPy、Pandas与常见可视化库的自学者

Not a good fit for

  • 完全零编程基础的读者,需先学习Python语法与开发环境配置
  • 只想深入了解机器学习算法与建模、对数据采集和可视化兴趣不大的读者
  • 需要R、SQL或Excel等非Python工具方案的分析人员

Reading tips

  1. 建议按第1章到第7章的顺序学习,每章动手复现示例代码,避免只看不练
  2. 学习第2、3章时先熟悉NumPy的数组操作与广播机制,再进入Pandas的表结构处理,衔接会更顺畅
  3. 第4至6章可只精读一种可视化库(如Matplotlib),其余作为按需查阅的手册
  4. 完成第7章项目实战后,可换一份自己关心的公开数据,独立走一遍搜集到可视化的完整流程

About the publisher

Tsinghua University Press China · Founded in 1980

Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.

Contents

  1. Chapter 1: Web Crawlers
  2. 1.1 Introduction to Web Crawlers
  3. 1.2 HTTP Fundamentals
  4. 1.3 Python Network Request Libraries (urllib, requests)
  5. 1.4 Web Data Parsing (Regular Expressions, Parsing Libraries)
  6. 1.5 Browser Simulation (Selenium)
  7. 1.6 Multiprocess and Multithreaded Crawlers
  8. 1.7 Mobile App Data Scraping (Charles)
  9. 1.8 The Scrapy Framework
  10. 1.9 Distributed Crawlers
  11. Chapter 2: NumPy
  12. 2.1 Introduction to NumPy
  13. 2.2 Creating Array Objects
  14. 2.3 Data Types of Array Objects
  15. 2.4 Attributes and Methods of Array Objects
  16. 2.5 Accessing Array Objects
  17. 2.6 Arithmetic Operations on Array Objects
  18. 2.7 Broadcasting of Array Objects
  19. 2.8 NumPy Universal Functions
  20. 2.9 NumPy Linear Algebra Functions
  21. 2.10 Saving and Loading Array Objects
  22. Chapter 3: Pandas
  23. 3.1 Introduction to Pandas
  24. 3.2 Series
  25. 3.3 DataFrame
  26. 3.4 Data Forms (Long and Wide Data)
  27. 3.5 Index Objects
  28. 3.6 Arithmetic Operations
  29. 3.7 Statistical Methods
  30. 3.8 Function Application
  31. 3.9 Sorting
  32. 3.10 Deduplication
  33. 3.11 Reading and Writing Files (CSV, Excel)
  34. Chapter 4: Matplotlib
  35. 4.1 Introduction to Matplotlib
  36. 4.2 Components of a Chart
  37. 4.3 rc Parameters
  38. 4.4 Saving Charts
  39. 4.5 Drawing Line Charts
  40. 4.6 Drawing Column Charts

FAQ

这本书需要什么前置基础?
需要已掌握Python基本语法、函数与面向对象等内容,并会配置开发环境。零基础读者建议先读同系列的《Python全栈开发——基础入门》,再回到本书。
本书属于哪个系列,是第几册?
本书属于清华大学出版社“清华开发者书库·Python”中的“Python全栈开发”系列,该系列共4册:《基础入门》《高阶编程》《数据分析》《Web编程》,本书为第3册。
示例代码是否覆盖爬虫和数据可视化?
覆盖。第1章讲urllib、requests、Selenium、Scrapy及分布式爬虫;第2至6章讲NumPy、Pandas、Matplotlib、Seaborn、pyecharts;全书配有近400个示例代码。
书中的库版本较旧怎么办?
书中示例基于出版时的库版本,实操时建议使用较新的Python与Pandas,遇到函数参数变更可查阅官方文档,核心思路与流程仍然适用。

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.

Top rated in the same category