Book description
The Hands-On, Example-Rich Introduction to Pandas Data Analysis in Python
Today, analysts must manage data characterized by extraordinary variety, velocity, and volume. Using the open source Pandas library, you can use Python to rapidly automate and perform virtually any data analysis task, no matter how large or complex. Pandas can help you ensure the veracity of your data, visualize it for effective decision-making, and reliably reproduce analyses across multiple datasets.
Pandas for Everyone brings together practical knowledge and insight for solving real problems with Pandas, even if you’re new to Python data analysis. Daniel Y. Chen introduces key concepts through simple but practical examples, incrementally building on them to solve more difficult, real-world problems.
Chen gives you a jumpstart on using Pandas with a realistic dataset and covers combining datasets, handling missing data, and structuring datasets for easier analysis and visualization. He demonstrates powerful data cleaning techniques, from basic string manipulation to applying functions simultaneously across dataframes.
Once your data is ready, Chen guides you through fitting models for prediction, clustering, inference, and exploration. He provides tips on performance and scalability, and introduces you to the wider Python data analysis ecosystem.
- Work with DataFrames and Series, and import or export data
- Create plots with matplotlib, seaborn, and pandas
- Combine datasets and handle missing data
- Reshape, tidy, and clean datasets so they’re easier to work with
- Convert data types and manipulate text strings
- Apply functions to scale data manipulations
- Aggregate, transform, and filter large datasets with groupby
- Leverage Pandas’ advanced date and time capabilities
- Fit linear models using statsmodels and scikit-learn libraries
- Use generalized linear modeling to fit models with different response variables
- Compare multiple models to select the “best”
- Regularize to overcome overfitting and improve performance
- Use clustering in unsupervised machine learning
Register your product at informit.com/register for convenient access to downloads, updates, and/or corrections as they become available.
Table of contents
- Cover Page
- About This E-Book
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Foreword
- Preface
- Acknowledgments
- About the Author
- I Introduction
- II Data Manipulation
-
III Data Munging
- 7 Data Types
- 8 Strings and Text Data
- 9 Apply
- 10 Groupby Operations: Split–Apply–Combine
-
11 The datetime Data Type
- 11.1 Introduction
- 11.2 Python’s datetime Object
- 11.3 Converting to datetime
- 11.4 Loading Data That Include Dates
- 11.5 Extracting Date Components
- 11.6 Date Calculations and Timedeltas
- 11.7 Datetime Methods
- 11.8 Getting Stock Data
- 11.9 Subsetting Data Based on Dates
- 11.10 Date Ranges
- 11.11 Shifting Values
- 11.12 Resampling
- 11.13 Time Zones
- 11.14 Conclusion
- IV Data Modeling
- V Conclusion
-
VI Appendixes
- A Installation
- B Command Line
- C Project Templates
- D Using Python
- E Working Directories
- F Environments
- G Install Packages
- H Importing Libraries
- I Lists
- J Tuples
- K Dictionaries
- L Slicing Values
- M Loops
- N Comprehensions
- O Functions
- P Ranges and Generators
- Q Multiple Assignment
- R numpy ndarray
- S Classes
- T Odo: The Shapeshifter
- Index
- Code Snippets
Product information
- Title: Pandas for Everyone: Python Data Analysis, First Edition
- Author(s):
- Release date: December 2017
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780134547046
You might also like
book
Pandas for Everyone: Python Data Analysis, 2nd Edition
Manage and Automate Data Analysis with Pandas in Python Today, analysts must manage data characterized by …
video
Data Analysis with Pandas and Python
This course begins with the essentials, introducing you to Anaconda and Jupyter Lab setup for Python …
book
Data Analysis with Python and PySpark
Think big about your data! PySpark brings the powerful Spark big data processing engine to the …
book
Python Data Analytics: With Pandas, NumPy, and Matplotlib
Explore the latest Python tools and techniques to help you tackle the world of data acquisition …