Matplotlib
Basic plots with Matplotlib
()
Line plot (1)
Line Plot (2): Interpretation
Line plot (3)
Scatter Plot (1)
Scatter plot (2)
Histogram
()
Build a histogram (1)
Build a histogram (2): bins
Build a histogram (3): compare
Choose the right plot (1)
Choose the right plot (2)
Customization
()
Labels
Ticks
Sizes
Colors
Additional Customizations
Interpretation
Dictionaries & Pandas
Dictionaries, Part 1
()
Motivation for dictionaries
Create dictionary
Access dictionary
Dictionaries, Part 2
()
Dictionary Manipulation (1)
Dictionary Manipulation (2)
Dictionariception
Pandas, Part 1
()
Dictionary to DataFrame (1)
Dictionary to DataFrame (2)
CSV to DataFrame (1)
CSV to DataFrame (2)
Pandas, Part 2
()
Square Brackets (1)
Square Brackets (2)
loc and iloc (1)
loc and iloc (2)
loc and iloc (3)
Logic, Control Flow and Filtering
Comparison Operators
()
Equality
Greater and less than
Compare arrays
Boolean Operators
()
and, or, not (1)
and, or, not (2)
Boolean operators with NumPy
if, elif, else
()
Warmup
if
Add else
Customize further: elif
Filtering pandas DataFrames
()
Driving right (1)
Driving right (2)
Cars per capita (1)
Cars per capita (2)
Loops
while loop
()
while: warming up
Basic while loop
Add conditionals
for loop
()
Loop over a list
Indexes and values (1)
Indexes and values (2)
Loop over list of lists
Loop Data Structures Part 1
()
Loop over dictionary
Loop over NumPy array
Loop Data Structures Part 2
()
Loop over DataFrame (1)
Loop over DataFrame (2)
Add column (1)
Add column (2)
Case Study: Hacker Statistics
Random Numbers
()
Random float
Roll the dice
Determine your next move
Random Walk
()
The next step
How low can you go?
Visualize the walk
Distribution
()
Simulate multiple walks
Visualize all walks
Implement clumsiness
Plot the distribution
Calculate the odds