Intro To Pandas For Data Science
Intro To Pandas For Data Science
Pandas
For Data Science
Andres Vourakis
Data Scientist & Mentor
@andresvourakis
Understanding
Pandas will allow you
to manipulate and
analyze data
efficiently, enabling
you to derive insights
quickly and prepare
data for advanced
analysis.
Core
Pandas Concepts
Here is what we’ll cover:
0 20 0 /home 0 /home 20
1 40 1 /about 1 /about 40
2 10 2 /contact 2 /contact 10
3 90 3 /projects 3 /projects 90
Data Selection and
Filtering
Use .loc[] to filter data by row and column names
or conditions, and .iloc[] to filter data by row and
column numbers.
Before Filtering
After Filtering
Page Visits
Page
0 /home 20
1 /about
1 /about 40
3 /projects
2 /contact 10
3 /projects 90
Data Cleaning and
Transformation
Before Grouping
After Grouping
Category Page Visits
3 Main /projects 90
Working with Dates
and Times
Pandas supports powerful time series
functionality:
This!
PandasAI
PandasAI is a Python library that integrates
generative artificial intelligence capabilities into
pandas, making dataframes conversational.
Andres Vourakis
Data Scientist & Mentor