Python for Data Analysis (3rd Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Python 基本语法,想系统学习 NumPy 与 pandas 的读者
- 数据分析师、BI 与报表岗位,需要处理表格、清洗与聚合数据的从业者
- 统计、经济、金融等专业学生,需要把课程作业落到代码上的读者
- 想从 Excel 转向 Python 处理百万行级数据的职场人
- 做时间序列、日志或行为数据分析,需要完整流程参考的技术人员
Not a good fit for
- 完全零编程基础的读者,书中语法部分只是快速带过
- 希望系统学习统计学理论与建模原理的人
- 只想学 SQL 或 Excel 做分析、不打算写 Python 的读者
Reading tips
- 先配好 Python 3.10 及以上的环境与 Jupyter,从官方 GitHub 下载示例数据,边读边敲,不要只做阅读。
- 第一遍可只读第2—5章与第7—8章,掌握 NumPy、pandas 的核心操作,其余章节按需查阅。
- 把第13章五个案例当作综合练习,读完自己用不同数据集重做一遍,检验流程是否真正打通。
- 注意 pandas 版本更迭较快,遇到弃用警告时以官方文档为准,不必强行沿用书中的旧写法。
About the publisher
In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.
Contents
- Preface
- Chapter 1. Preliminaries (What Is This Book About?, Why Python for Data Analysis?, Essential Python Libraries, Installation and Setup, Community and Conferences, Navigating This Book)
- Chapter 2. Python Language Basics, IPython, and Jupyter Notebooks (The Python Interpreter, IPython Basics, Python Language Basics, Conclusion)
- Chapter 3. Built-In Data Structures, Functions, and Files (Data Structures and Sequences, Functions, Files and the Operating System, Conclusion)
- Chapter 4. NumPy Basics: Arrays and Vectorized Computation (The NumPy ndarray: A Multidimensional Array Object, Generating Pseudorandom Numbers, Universal Functions: Fast Element-Wise Array Functions, Array-Oriented Programming with Arrays, File Input and Output with Arrays, Linear Algebra, Example: Random Walks, Conclusion)
- Chapter 5. Getting Started with pandas (Introduction to pandas Data Structures, Essential Functionality, Summarizing and Computing Descriptive Statistics, Conclusion)
- Chapter 6. Data Loading, Storage, and File Formats (Reading and Writing Data in Text Format, Binary Data Formats, Interacting with Web APIs, Interacting with Databases, Conclusion)
- Chapter 7. Data Cleaning and Preparation (Handling Missing Data, Data Transformation, Extension Data Types, String Manipulation, Categorical Data, Conclusion)
- Chapter 8. Data Wrangling: Join, Combine, and Reshape (Hierarchical Indexing, Combining and Merging Datasets, Reshaping and Pivoting, Conclusion)
- Chapter 9. Plotting and Visualization (A Brief matplotlib API Primer, Plotting with pandas and seaborn, Other Python Visualization Tools, Conclusion)
- Chapter 10. Data Aggregation and Group Operations (GroupBy Mechanics, Data Aggregation, Apply: Split-Apply-Combine, Group Transforms and "Unwrapped" GroupBy Operations, Pivot Tables and Cross-Tabulation, Conclusion)
- Chapter 11. Time Series (Date and Time Data Types and Tools, Basics of Time Series, Date Ranges, Frequencies, and Shifting, Time Zone Handling, Periods and Period Arithmetic, Resampling and Frequency Conversion, Moving Window Functions, Conclusion)
- Chapter 12. Introduction to Modeling Libraries in Python (Interfacing Between pandas and Model Code, Creating Model Descriptions with Patsy, Introduction to statsmodels, Introduction to scikit-learn, Conclusion)
- Chapter 13. Data Analysis Examples (Bitly Data from 1.USA.gov, MovieLens 1M Dataset, US Baby Names 1880–2010, USDA Food Database, 2012 Federal Election Commission Database, Conclusion)
- Appendix A. Advanced NumPy
- Appendix B. More on the IPython System
FAQ
这本书适合零基础学 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.
About the author
Wes McKinney is a technical author known for his work on data analysis and scientific computing, and his Chinese name is often associated with the topic of Python data analysis among readers of computer books. Publicly available information is limited: his nationality, birth and death dates, and educational background are not conclusively recorded, and the library currently holds one of his works. His representative work is Python for Data Analysis (2nd Edition), which focuses on the practical use of Python in data processing, cleaning, wrangling, and analysis. The book emphasizes tool operation and case demonstrations and is a practical technical work in the general computer category. McKinney's writing style combines programming methods with real data scenarios; the language is direct and the steps are clear, making it suitable for readers who want to use Python for data analysis. The book has circulated widely among Chinese readers, is often regarded as one of the introductory works for entering the field of Python data analysis, and reflects the author's practical experience and approach to data handling.