Skip to Content
Learn Python by Building Data Science Applications
book

Learn Python by Building Data Science Applications

by Philipp Kats, David Katz
August 2019
Beginner
482 pages
12h 56m
English
Packt Publishing
Content preview from Learn Python by Building Data Science Applications

Getting started with pandas

Pandas is the tool for data manipulation in Python—it combines speed and convenience, allowing the rapid processing and manipulation of data. Let's first overview a number of basic operations: pandas is simple and intuitive to use, but it is still a learning curve. 

pandas does have two main data structures:

  1. Series is a one-dimensional array of one data type that also has an index. The index could be numeric, categorical, a string, or datetime.
  2. DataFrame is a two-dimensional table consisting of a set of columns—each of one single data type. Dataframe has two indexes—index and columns. Columns of Dataframe can be thought of as Series. Rows can be retrieved as Series but, in this case, data in the cells will likely ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python for Data Science

Python for Data Science

Yuli Vasiliev
Introduction to Machine Learning with Python

Introduction to Machine Learning with Python

Andreas C. Müller, Sarah Guido

Publisher Resources

ISBN: 9781789535365Supplemental Content