Skip to main content
PyPath
Home
Courses
Courses
See both
1
Python Foundations
10 units
2
Python for Data
10 units
Sandbox
Classroom
My class
Settings
Start learning
Sign in
My progress
My classroom
Account
Sign out
Courses
·
Python for Data
Unit 6 · Filtering and Deriving
Choosing rows, and building the column that answers your question.
1
Filtering with Masks
The same idea as numpy, applied to whole rows.
2
isin, between and query
Three ways to say a condition that reads like the question.
3
Derived Columns
The column that answers your question usually is not in the file.
4
apply, and When Not To
A general escape hatch that is slower than the thing it usually replaces.
5
Binning Values
Turning a measurement into a band you can count.
6
Sorting and Top N
Ordering a table, and taking the few rows that matter.