DATA100 - Pandas Introduction - Basics
DATA100 - Pandas Introduction - Basics
with Python
11 Pandas
Intro to Pandas
Review Class 12 nn –
1:30pm
(If with LEAP)
Pandas??
Animal
Pandas is an easy-to-use, fast, flexible,
and powerful open-source Python
library for working with “relational” or
“labeled” data. It aims to be the
fundamental high-level building block for
doing practical, real world data analysis in
Python by offering data structures and
operations for manipulating tables.
PANel DAta
How to start using it?
import pandas as pd
Series
index colleges
● is a one-dimensional
array-like object that has 1 COB
index and value just like
NumPy and is capable of 2 SOE
holding any data type.
3 CCS
Creating Series
Transfer to Jupyter
Notebook for more
Samples and
Exercise
Exercise - Creating Series
Data Typecasting
Typecasting – changing
the variable type to
another
DataFrame
index college course
● a two / multi-dimensional
labelled data structure 1 COB MGT
with columns of
potentially different data 2 SOE AE-MGT
types.
● It’s simply a multi-column 3 CCS ST
Series object.
Creating DataFrame
Exercise – Creating DataFrame
Expected Output
Important DataFrame Functions to Know
● Selecting Columns
● Typecasting
● Creating New Column
● Deleting a Column
● Editing Specific Values
● Reindexing
● Filtering
● Sorting
Selecting a Column