Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Pandas 1.x Cookbook
Pandas 1.x Cookbook

Pandas 1.x Cookbook: Practical recipes for scientific computing, time series analysis, and exploratory data analysis using Python , Second Edition

Arrow left icon
Profile Icon Matthew Harrison Profile Icon Theodore Petrou
Arrow right icon
€42.99 €47.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5 (28 Ratings)
eBook Feb 2020 626 pages 2nd Edition
eBook
€42.99 €47.99
Paperback
€59.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Matthew Harrison Profile Icon Theodore Petrou
Arrow right icon
€42.99 €47.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5 (28 Ratings)
eBook Feb 2020 626 pages 2nd Edition
eBook
€42.99 €47.99
Paperback
€59.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€42.99 €47.99
Paperback
€59.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Pandas 1.x Cookbook

Introduction

This chapter covers many fundamental operations of the DataFrame. Many of the recipes will be similar to those in Chapter 1, Pandas Foundations, which primarily covered operations on a Series.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • This is the first book on pandas 1.x
  • Practical, easy to implement recipes for quick solutions to common problems in data using pandas
  • Master the fundamentals of pandas to quickly begin exploring any dataset

Description

The pandas library is massive, and it's common for frequent users to be unaware of many of its more impressive features. The official pandas documentation, while thorough, does not contain many useful examples of how to piece together multiple commands as one would do during an actual analysis. This book guides you, as if you were looking over the shoulder of an expert, through situations that you are highly likely to encounter. This new updated and revised edition provides you with unique, idiomatic, and fun recipes for both fundamental and advanced data manipulation tasks with pandas. Some recipes focus on achieving a deeper understanding of basic principles, or comparing and contrasting two similar operations. Other recipes will dive deep into a particular dataset, uncovering new and unexpected insights along the way. Many advanced recipes combine several different features across the pandas library to generate results.

Who is this book for?

This book is for Python developers, data scientists, engineers, and analysts. Pandas is the ideal tool for manipulating structured data with Python and this book provides ample instruction and examples. Not only does it cover the basics required to be proficient, but it goes into the details of idiomatic pandas.

What you will learn

  • Master data exploration in pandas through dozens of practice problems
  • Group, aggregate, transform, reshape, and filter data
  • Merge data from different sources through pandas SQL-like operations
  • Create visualizations via pandas hooks to matplotlib and seaborn
  • Use pandas, time series functionality to perform powerful analyses
  • Import, clean, and prepare real-world datasets for machine learning
  • Create workflows for processing big data that doesn't fit in memory

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Feb 27, 2020
Length: 626 pages
Edition : 2nd
Language : English
ISBN-13 : 9781839218910
Category :
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Feb 27, 2020
Length: 626 pages
Edition : 2nd
Language : English
ISBN-13 : 9781839218910
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 145.97
Hands-On Data Analysis with Pandas
€48.99
Pandas 1.x Cookbook
€59.99
Python Data Cleaning Cookbook
€36.99
Total 145.97 Stars icon

Table of Contents

16 Chapters
Pandas Foundations Chevron down icon Chevron up icon
Essential DataFrame Operations Chevron down icon Chevron up icon
Creating and Persisting DataFrames Chevron down icon Chevron up icon
Beginning Data Analysis Chevron down icon Chevron up icon
Exploratory Data Analysis Chevron down icon Chevron up icon
Selecting Subsets of Data Chevron down icon Chevron up icon
Filtering Rows Chevron down icon Chevron up icon
Index Alignment Chevron down icon Chevron up icon
Grouping for Aggregation, Filtration, and Transformation Chevron down icon Chevron up icon
Restructuring Data into a Tidy Form Chevron down icon Chevron up icon
Combining Pandas Objects Chevron down icon Chevron up icon
Time Series Analysis Chevron down icon Chevron up icon
Visualization with Matplotlib, Pandas, and Seaborn Chevron down icon Chevron up icon
Debugging and Testing Pandas Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.5
(28 Ratings)
5 star 75%
4 star 7.1%
3 star 7.1%
2 star 10.7%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Ivan and Zorro Mar 28, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is great for both beginners and someone already familiar with pandas. And if you are that someone then you know this library is so big that you never quite feel like you know everything. For instance, how many people use the pandas testing module? What’s that you say , you didn’t know pandas had a testing module? Another highlight is the EDA chapter which also includes some nice coverage of Seaborn, in addition to the chapter devoted entirely to visualization libraries. This will quickly become your goto reference for pandas and working with data.If you are looking for new and interesting ways to leverage pandas and make your work flow more efficient this book will help. It does start at the beginning, but I would be surprised if you didn’t pick up a nugget right in the first chapter. It says pandas but actually the authors spend a lot of time with NumPy although they don’t always distinguish between the two – which does make sense since pandas is for the most part a wrapper around many libraries, NumPy being chief among them.Personally I would have used fewer pages by showing less output, but that is one of the few complaints I have. I just don’t think we really need to see 10 lines of output for every step. Also I nice clear link to github for cloning the data would have been nice.
Amazon Verified review Amazon
Nathan Weston Apr 01, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is a huge book that's packed with details on both basic and advanced usage of Pandas. Each recipe is mostly self-contained, so you can jump straight to any topic you need to know more about without hunting around the book for all the pieces. This does mean there's some amount of repetition if you're reading start to finish, but I think it's a worthwhile trade-off. The accompanying Jupyter Notebook examples are also a nice addition.
Amazon Verified review Amazon
Prayson Daniel Mar 16, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I thought I knew Pandas until I read the first edition three years ago. There are so many new techniques I learnt and relearned by going through this revised version. Upgrading recipes to Python 3.6+ syntax has refined the simplicity and readability of the codes.Two things that stands out and makes me love this book are: (1) the accompanying codes in form of Jupyter Notebooks: Programming is learnt by doing and not just by reading,—having codes for each recipe in a clear and interactive is priceless, (2) the scope: this book goes beyond Pandas syntax. The application and visualisation are thoroughly covered.The only challenge, for beginners, I believe, will be a smooth setting up correct environment to experiment with these recipes. Perhaps creating a Dockerfile/docker-compose file which will build the entire step-up, Python version, libraries, spinning up Jupyter, and attach volumes with a single command, as part of accompanying codes, would make the whole experience divine. In this way, the only requirement needed to enjoy this book is the installation of Docker.
Amazon Verified review Amazon
Tripp Parker Apr 10, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book is well thought out, provides an excellent framework for Pandas. If you've read other books that are by Matt Harrison, then you'll appreciate the quality and context of this book.
Amazon Verified review Amazon
Bookworm_Live Sep 17, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A really wonderful no-nonsense book. The author gives insight into how Pandas can be used in real world with all practical scenarios and usages. Highly Recommend.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.