Skip to main content
Loading page…
Python Mastery
Chapter 41
Lesson 1 of 5
Series & DataFrame
Contents
Notes
Tutor
Concept
Why Pandas? The Mental Model
Loading activity…
Previous
1 / 8
Continue
Contents
Notes
Discussion
Tutor
28 min
8 activities
0 of 8 done
In this lesson
1
Why Pandas? The Mental Model
2
Creating a Series
3
Creating a DataFrame
4
Inspection Methods: head, tail, info, describe, shape, dtypes
5
Practice: Build and Inspect a DataFrame
6
DataFrame Mental Model Check
7
Inspection Method Quiz
8
Gotcha: 'object' dtype does not mean string
Objectives
Learner can install pandas and import it correctly
Learner can create a Series from a list, dict, and scalar
Learner can create a DataFrame from a dict of lists, a list of dicts, and read_csv
Learner can inspect a DataFrame with head, tail, info, describe, shape, dtypes, and index
Learner can explain the mental model: a DataFrame is a dict of Series sharing a common index
Chapter 41 · Pandas: Real-World Data Analysis
Series & DataFrame
Loading & Selecting Data
Cleaning & Transforming
GroupBy, Aggregation & Merge
A Real Mini-Analysis
Previous: Linear Algebra & Random
Next: Loading & Selecting Data