📊
Data Science with Python
L3PRO· 104 lessonspandas, polars, real datasets, dashboards
104 lessons across 6 modules: pandas + numpy for data work, cleaning & feature engineering, modeling & evaluation, A/B testing & causal inference, production ML pipelines, and deep-learning foundations (backprop, transformers, fine-tuning, MLOps registry + drift).
✅ Before you start
- ·Python Foundations done — you can write loops, list comprehensions, and functions
- ·High-school statistics: mean, median, variance. We re-teach the rest as needed
- ·Comfortable with the idea of a DataFrame: rows + columns. We deep-dive pandas
🔒Selecting columns and rows
🔒Filtering with boolean masks
🔒Missing data (NaN, fillna, dropna)
🔒apply() — custom per-row logic
🔒Time series: dates and resampling
🔒Polars: when pandas is too slow
🔒Capstone: end-to-end sales analysis
🔒DataFrame.melt — wide to long
🔒Type optimization for memory
🔒Polars vs pandas: syntax differences
🔒🎯 Review: Data Science module 1 recap
🔒SQL from pandas: read_sql
🔒scikit-learn intro: a 5-line model
🔒pandas MultiIndex (hierarchical indexing)
🔒Window functions: .rolling and .expanding
🔒Categorical data deep-dive
🔒pd.cut and pd.qcut for binning
🔒Time-series resampling tricks
🔒pandas-on-Spark (pyspark.pandas)
🔒DuckDB on Parquet — analytics without a DB
🔒Plotly Express for interactive charts
🔒seaborn for statistical viz
🔒Plotnine (ggplot in Python)
🔒Streamlit dashboards: first app in 50 lines
🔒Streamlit caching + state
🔒Outlier detection (IQR, Z-score, Isolation Forest)
🔒Feature engineering for tabular ML
🔒Stratified train/test/val splits
🔒🎯 Review: Data Science module 2 recap
🔒Cross-validation strategies
🔒sklearn Pipeline + ColumnTransformer
🔒Capstone: end-to-end ML pipeline
🔒Rolling, expanding, and EWM windows
🔒Pivot tables and multi-index basics
🔒merge_asof for backward-join on time
🔒qcut for quantile-based bucketing
🔒Target encoding (and leakage caveat)
🔒Time-series lag features via shift()
🔒ARIMA, seasonal decomposition, Prophet
🔒Rolling std as a volatility feature
🔒Time-series CV vs random K-fold
🔒Predict: ROC AUC for perfect ranking
🔒Class imbalance: weights vs SMOTE
🔒Fix the leakage: scale-before-split
🔒GridSearchCV vs RandomizedSearchCV vs Optuna
🔒SHAP — local feature attribution
🔒PCA explained-variance calculation
🔒🎯 Review: Data Science module 3 recap
🔒K-Means: silhouette score from scratch
🔒Outlier detection: IQR rule
🔒A/B test sample size calculator
🔒Multi-armed bandits: epsilon-greedy
🔒Capstone: production-grade pipeline + calibration
🔒Streaming z-score outlier detector
🔒Stratified train/test split
🔒Confusion-matrix metrics from scratch
🔒ROC AUC by Mann-Whitney equivalence
🔒Class imbalance: SMOTE-lite oversampling
🔒Min-max & standard scaling
🔒K-fold cross-validation harness
🔒One-hot vs target encoding
🔒Train/test data leakage — find the bug
🔒Bootstrap confidence interval
🔒Sliding-window time-series feature
🔒Gradient descent on linear regression
🔒PCA — top component by power iteration
🔒🏆 Capstone: end-to-end Kaggle-style pipeline
🔒🎯 Review: Data Science module 5 recap
🔒Neuron: weights, bias, activation
🔒Backpropagation: chain rule applied
🔒Optimizers: SGD vs Adam vs AdamW
🔒Embeddings: cosine vs Euclidean
🔒Tokenization: BPE / WordPiece / SentencePiece
🔒Transformer: attention in one paragraph
🔒Fine-tuning: full vs LoRA
🔒Evaluation: BLEU / ROUGE / LLM-as-judge
🔒Class imbalance: production fix
🔒Feature stores: why they exist
🔒Drift detection: data vs concept
🔒MLOps: model registry + versioning
🔒Causal inference: correlation ≠ causation
🔒A/B test: minimum detectable effect
🔒Recommenders: collaborative vs content-based
🔒Time series: stationarity check
🔒Pandas: vectorized vs apply vs iterrows
🔒Polars / DuckDB for big DataFrames
🔒🏆 Final capstone: ML production blueprint
Tip: click any lesson to revisit it. After your first attempt, the “Show example” button reveals the full solution.