Book description
Take the next steps in your data science career! This friendly and hands-on guide shows you how to start mastering Pandas with skills you already know from spreadsheet software.In Pandas in Action you will learn how to:
- Import datasets, identify issues with their data structures, and optimize them for efficiency
- Sort, filter, pivot, and draw conclusions from a dataset and its subsets
- Identify trends from text-based and time-based data
- Organize, group, merge, and join separate datasets
- Use a GroupBy object to store multiple DataFrames
Pandas has rapidly become one of Python's most popular data analysis libraries. In Pandas in Action, a friendly and example-rich introduction, author Boris Paskhaver shows you how to master this versatile tool and take the next steps in your data science career. You’ll learn how easy Pandas makes it to efficiently sort, analyze, filter and munge almost any type of data.
About the Technology
Data analysis with Python doesn’t have to be hard. If you can use a spreadsheet, you can learn pandas! While its grid-style layouts may remind you of Excel, pandas is far more flexible and powerful. This Python library quickly performs operations on millions of rows, and it interfaces easily with other tools in the Python data ecosystem. It’s a perfect way to up your data game.
About the Book
Pandas in Action introduces Python-based data analysis using the amazing pandas library. You’ll learn to automate repetitive operations and gain deeper insights into your data that would be impractical—or impossible—in Excel. Each chapter is a self-contained tutorial. Realistic downloadable datasets help you learn from the kind of messy data you’ll find in the real world.
What's Inside
- Organize, group, merge, split, and join datasets
- Find trends in text-based and time-based data
- Sort, filter, pivot, optimize, and draw conclusions
- Apply aggregate operations
About the Reader
For readers experienced with spreadsheets and basic Python programming.
About the Author
Boris Paskhaver is a software engineer, Agile consultant, and online educator. His programming courses have been taken by 300,000 students across 190 countries.
Quotes
Of all the introductory pandas books I’ve read—and I did read a few—this is the best, by a mile.
- Erico Lendzian, idibu.com
This approachable guide will get you up and running quickly with all the basics you need to analyze your data.
- Jonathan Sharley, SiriusXM Media
Understanding and putting in practice the concepts of this book will help you increase productivity and make you look like a pro.
- Jose Apablaza, Steadfast Networks
Teaches both novice and expert Python users the essential concepts required for data analysis and data science.
- Ben McNamara, DataGeek
Table of contents
- Pandas in Action
- Dedication
- Copyright
- contents
- front matter
- Part 1. Core pandas
- 1 Introducing pandas
- 2 The Series object
- 3 Series methods
-
4 The DataFrame object
- 4.1 Overview of a DataFrame
- 4.2 Similarities between Series and DataFrames
- 4.3 Sorting a DataFrame
- 4.4 Sorting by index
- 4.5 Setting a new index
- 4.6 Selecting columns and rows from a DataFrame
- 4.7 Selecting rows from a DataFrame
- 4.8 Extracting values from Series
- 4.9 Renaming columns or rows
- 4.10 Resetting an index
- 4.11 Coding challenge
- Summary
- 5 Filtering a DataFrame
- Part 2. Applied pandas
- 6 Working with text data
- 7 MultiIndex DataFrames
- 8 Reshaping and pivoting
- 9 The GroupBy object
- 10 Merging, joining, and concatenating
-
11 Working with dates and times
- 11.1 Introducing the Timestamp object
- 11.2 Storing multiple timestamps in a DatetimeIndex
- 11.3 Converting column or index values to datetimes
- 11.4 Using the DatetimeProperties object
- 11.5 Adding and subtracting durations of time
- 11.6 Date offsets
- 11.7 The Timedelta object
- 11.8 Coding challenge
- Summary
- 12 Imports and exports
- 13 Configuring pandas
- 14 Visualization
- Appendix A. Installation and setup
- Appendix B. Python crash course
- Appendix C. NumPy crash course
- Appendix D. Generating fake data with Faker
- Appendix E. Regular expressions
- index
Product information
- Title: Pandas in Action
- Author(s):
- Release date: September 2021
- Publisher(s): Manning Publications
- ISBN: 9781617297434
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 …
book
Pandas for Everyone: Python Data Analysis, First Edition
The Hands-On, Example-Rich Introduction to Pandas Data Analysis in Python Today, analysts must manage data characterized …
book
Pandas 1.x Cookbook - Second Edition
Use the power of pandas to solve most complex scientific computing problems with ease. Revised for …
video
Data Analysis with Pandas and Python
This course begins with the essentials, introducing you to Anaconda and Jupyter Lab setup for Python …