Python Data Analysis for Beginners: From Data Acquisition to Visualization
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握Python基本语法、想系统走一遍数据分析全流程的初学者
- 需要自己动手采集数据、做清洗和出图的学生与职场新人
- 想把爬虫、pandas、matplotlib串成一个完整小项目的自学者
- 作为高校Python数据分析课程或培训班的辅助读物
Not a good fit for
- 完全没写过Python、需要从变量和循环学起的零基础读者
- 想深入统计建模、机器学习算法推导的进阶读者
- 寻求pandas或matplotlib完整API参考手册的读者
- 只想要可视化美观技巧、不关心数据获取与清洗的人
Reading tips
- 第1章可快速浏览,重点是环境与库安装;装好后立刻跑通书中GitHub上的示例代码。
- 按“获取—存取清洗—分析可视化—项目”的顺序读,每章配一个自己的数据集练手。
- 第2章爬虫务必遵守robots.txt与网站条款,控制请求频率,只在合法范围内练习。
- 第5章三个项目建议完整复现一遍,尤其新闻提醒服务,可体会定时任务与日志的实际写法。
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- Chapter 1 Preparation
- 1.1 Setting Up the Development Environment
- 1.1.1 Setting Up an Integrated Python Development Environment on Ubuntu
- 1.1.2 Setting Up an Integrated Python Development Environment on Windows
- 1.1.3 Three Methods for Installing Third-Party Libraries
- 1.2 Introduction to Basic Python Syntax
- 1.2.1 if __name__=='__main__'
- 1.2.2 List Comprehensions
- 1.2.3 Decorators
- 1.2.4 Recursive Functions
- 1.2.5 Object-Oriented Programming
- 1.3 The Zen of Python
- Chapter 2 Data Acquisition
- 2.1 Introduction to Crawlers
- 2.2 Data Scraping in Practice
- 2.2.1 Requesting Web Page Data
- 2.2.2 Web Page Parsing
- 2.2.3 Data Storage
- 2.3 Advanced Crawler Topics
- 2.3.1 Exception Handling
- 2.3.2 robots.txt
- 2.3.3 Dynamic User Agents
- 2.3.4 Proxy IPs
- 2.3.5 Encoding Detection
- 2.3.6 Introduction to Regular Expressions
- 2.3.7 Simulated Login
- 2.3.8 CAPTCHA Issues
- 2.3.9 Acquiring Dynamically Loaded Content
- 2.3.10 Multithreading and Multiprocessing
- 2.4 Crawler Summary
- Chapter 3 Data Access and Cleaning
- 3.1 Data Access
- 3.1.1 Basic File Operations
- 3.1.2 Reading and Writing CSV Files
- 3.1.3 Reading and Writing JSON Files
- 3.1.4 Reading and Writing XLSX Files
- 3.1.5 Reading and Writing MySQL Database Files
- 3.2 NumPy
- 3.2.1 Introduction to NumPy
- 3.2.2 Basic NumPy Operations
FAQ
这本书适合完全没有编程基础的人吗?
书里的代码和数据集能下载吗?
书中用的是Python 2还是Python 3?
爬虫部分讲得够不够深入?
这本书的豆瓣评分是多少?
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.