Reference · Cheatsheet
ML Python starter card
Minimum Python before AI/ML labs in Lane D.
Minimum Python before AI/ML labs in Lane D.
Core syntax
- Variables, lists, `for` loops
- Functions with `return`
- `if` / `else` decisions
- Read files with `open()` or pandas
Tables & plots
import pandas as pd
df = pd.read_csv("data.csv")
df.describe()First ML loop
**Related:** glossary `pandas`, `matplotlib`, `classification`, `threshold`