Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Data Science with Anaconda

You're reading from  Hands-On Data Science with Anaconda

Product type Book
Published in May 2018
Publisher Packt
ISBN-13 9781788831192
Pages 364 pages
Edition 1st Edition
Languages
Authors (2):
Yuxing Yan Yuxing Yan
Profile icon Yuxing Yan
James Yan James Yan
Profile icon James Yan
View More author details

Table of Contents (15) Chapters

Preface Ecosystem of Anaconda Anaconda Installation Data Basics Data Visualization Statistical Modeling in Anaconda Managing Packages Optimization in Anaconda Unsupervised Learning in Anaconda Supervised Learning in Anaconda Predictive Data Analytics – Modeling and Validation Anaconda Cloud Distributed Computing, Parallel Computing, and HPCC References Other Books You May Enjoy

Introduction to the Python pandas package

The Python pandas package is very useful when dealing with data. The pandas package is a wonderful tool for data preprocessing, which is essential for data analysis. There is a humorous way of describing the importance of data cleaning: "A data scientist spends 80% of their time cleaning the data and the other 20% complaining about cleaning the data". To test if the package is preinstalled, we can type import pandas as pd after we launch Python. If we don't see any error messages, it means that the package was preinstalled. If we do, then we can use conda install pandas to install the package. To find all available functions, we could use the following three lines of Python code:

To find out about the usage or examples of individual functions, the help() function can be used. For example, for the to_pickle functionality...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}