0% found this document useful (0 votes)
14 views22 pages

Python DataScience Course 1

The 'Python for Data Science' course by DataSciencePro Academy offers over 80 hours of content across 12 modules, covering topics from Python foundations to advanced machine learning techniques. It includes hands-on projects and labs, ensuring practical experience in data manipulation, visualization, and model evaluation. The course is designed for beginners to advanced learners, providing a certifiable completion and lifetime access to updates.

Uploaded by

Suriya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views22 pages

Python DataScience Course 1

The 'Python for Data Science' course by DataSciencePro Academy offers over 80 hours of content across 12 modules, covering topics from Python foundations to advanced machine learning techniques. It includes hands-on projects and labs, ensuring practical experience in data manipulation, visualization, and model evaluation. The course is designed for beginners to advanced learners, providing a certifiable completion and lifetime access to updates.

Uploaded by

Suriya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

🐍 Python for Data Science — DataSciencePro Academy

🎓 DataSciencePro Academy
[Link] | hello@[Link]

🐍
PYTHON FOR DATA SCIENCE
Complete Professional Curriculum

📦 🏆
80+ Hours 12 Modules 5 Projects
Course Duration Deep Content Real-world Capstone

📌 Course Level: Beginner → Advanced | Prerequisites: Basic computer literacy


📅 Edition: 2026 | Certifiable Completion | Lifetime Access to Updates

Prepared by DataSciencePro Academy © 2026

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

📋 Table of Contents

🐍 MODULE 1 Python Foundations 04

📊 MODULE 2 NumPy — Numerical Computing 06

🐼 MODULE 3 Pandas — Data Manipulation 08

📈 MODULE 4 Matplotlib & Seaborn — Visualization 10

🤖 MODULE 5 Machine Learning with Scikit-learn 12

🌲 MODULE 6 Advanced ML Algorithms 14

🧠 MODULE 7 Deep Learning with TensorFlow & Keras 16

📝 MODULE 8 Natural Language Processing (NLP) 18

MODULE 9 Computer Vision with OpenCV 20

⚙️ MODULE 10 Data Engineering & Pipelines 22

☁️ MODULE 11 Cloud & MLOps Deployment 24

🚀 MODULE 12 Capstone Projects 26

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

🐍 MODULE 1: PYTHON FOUNDATIONS

Build a rock-solid Python base before touching any data science library. This module covers the language
essentials every data scientist needs daily.

🔧 1.1 Setting Up Your Environment


Installer Anaconda 2024, Miniconda, pip — pros & cons
IDEs VS Code + Python extension, JupyterLab, PyCharm
Virtual Envs conda env, venv, pyenv — isolation best practices
Jupyter Tricks Magic commands %timeit, %%capture, keyboard shortcuts
First Script Hello Data Science — running .py & .ipynb side-by-side

📖 1.2 Core Python Syntax


▸ Variables, data types: int, float, str, bool, NoneType
▸ Operators: arithmetic, comparison, logical, bitwise, walrus :=
▸ String methods: split, join, strip, format, f-strings, regex basics
▸ Control flow: if/elif/else, while, for, break, continue, pass
▸ Comprehensions: list, dict, set, generator expressions

⚙️ 1.3 Functions & Scope


Defining Functions def, return, default args, *args, **kwargs
Lambda Functions Anonymous one-liners, use with map/filter/sorted
Closures Inner functions, nonlocal, capturing variables
Decorators @[Link], timing decorator, memoization
Recursion Factorial, Fibonacci, tree traversal — when to use it

1.4 Data Structures Deep Dive


▸ Lists — slicing, sorting, copying pitfalls
▸ Tuples — immutability, named tuples ([Link])
▸ Dictionaries — CRUD, defaultdict, Counter, OrderedDict
▸ Sets — union, intersection, difference, frozenset
▸ Stacks & queues with deque — time complexity comparison

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

1.5 Object-Oriented Programming


Classes & Objects Attributes, methods, __init__, self
Inheritance Single, multiple, super(), method resolution order
Dunder Methods __str__, __repr__, __len__, __eq__, __iter__
Dataclasses @dataclass, field(), post_init — modern Python
Abstract Classes [Link], abstractmethod — interface contracts

1.6 Error Handling & File I/O


▸ try / except / else / finally — catching specific exceptions
▸ Custom exception classes inheriting from Exception
▸ Context managers — with open(), custom __enter__/__exit__
▸ Reading & writing: CSV, JSON, YAML, plain text
▸ [Link] — modern file-system navigation

🧪 HANDS-ON LAB: Build a command-line data-cleaning script that reads a CSV,


applies regex transformations, handles missing values, and writes cleaned output.
Estimated time: 3 hours | Deliverable: Cleaned CSV + Python script

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

📊 MODULE 2: NumPy — NUMERICAL COMPUTING

NumPy is the bedrock of scientific Python. Master arrays, broadcasting, and linear algebra operations that
power every ML algorithm.

🔢 2.1 ndarray Fundamentals


Array Creation [Link], zeros, ones, eye, linspace, arange, random
dtypes int8-64, float16-64, complex, bool — memory tradeoffs
Shape & Strides shape, ndim, size, itemsize, strides internals
Indexing Basic, fancy, boolean masking, [Link]
Copies vs Views When slicing creates a view, using .copy() safely

📡 2.2 Array Operations & Broadcasting


▸ Element-wise arithmetic: +, -, *, /, **, [Link], [Link], [Link]
▸ Broadcasting rules — shapes (3,1) vs (1,4), common pitfalls
▸ Universal functions (ufuncs): add, multiply, sin, log — out= param
▸ Reduction: sum, mean, std, min, max along axes
▸ [Link] — compact notation for tensor contractions

📐 2.3 Linear Algebra


Matrix Ops [Link], @, [Link], transpose
Decompositions SVD, eigenvalues (eig/eigh), Cholesky, QR, LU
Solving Systems [Link], lstsq — linear systems
Norms [Link] — L1, L2, Frobenius, axis param
Determinants [Link], inv, matrix_rank, pinv (pseudoinverse)

🎲 2.4 Random Module & Statistics


▸ [Link].default_rng — modern Generator API with seeds
▸ Distributions: normal, uniform, binomial, poisson, beta, gamma
▸ Shuffling arrays, random sampling without replacement
▸ Statistical: percentile, histogram, corrcoef, cov
▸ Monte Carlo simulation example — estimating π

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

⚡ 2.5 Performance & Memory


Vectorization Replacing Python loops — speed benchmarks
[Link] Wrapping scalar functions — not truly fast
Numba JIT @jit, @njit, parallel=True — 100x speedups
Memory Mapping [Link] for datasets larger than RAM
Structured Arrays Record arrays for heterogeneous tabular data

🧪 HANDS-ON LAB: Implement PCA from scratch using only NumPy (SVD decomposition).
Compare results with [Link] on a 10,000-sample dataset.
Estimated time: 2.5 hours | Deliverable: Jupyter notebook with benchmarks

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

🐼 MODULE 3: PANDAS — DATA MANIPULATION

Pandas is the Swiss army knife of data wrangling. From loading messy CSV files to complex time-series
analysis, this module covers it all.

📋 3.1 Series & DataFrame Basics


Creating [Link], [Link] from dict, list, NumPy, CSV
Inspection .head(), .info(), .describe(), .shape, .dtypes, .memory_usage()
Indexing .loc (label), .iloc (integer), .at, .iat — when to use each
Boolean Filtering df[condition], .query() string expressions, isin()
Chaining Method chaining with .pipe() — readability & debugging

🧹 3.2 Data Cleaning


▸ Detecting missing data: .isna(), .notna(), .isnull().sum()
▸ Filling strategies: .fillna() with mean/median/mode/ffill/bfill
▸ Dropping: .dropna(thresh=, subset=), .drop_duplicates(keep=)
▸ Type casting: .astype(), pd.to_datetime(), pd.to_numeric(errors='coerce')
▸ Renaming, reindexing, column reordering — clean pipeline patterns
▸ Outlier detection: IQR fencing, z-score clipping

🔍 3.3 GroupBy & Aggregation


groupby() Split-apply-combine paradigm, as_index, observed
agg() Multiple functions at once: {'col': ['mean','std']}
transform() Group-normalize, fill with group mean — keeps shape
apply() Custom functions per group — flexibility vs speed
Named Aggregation [Link], clean multi-stat summaries

🔗 3.4 Merging, Joining & Reshaping


▸ [Link] — inner, left, right, outer, cross joins; on=, suffixes=
▸ [Link] — axis=0/1, ignore_index, keys= for MultiIndex
▸ [Link]() — convenience for index-based joining
▸ pivot_table vs crosstab — aggregated cross-tabulation

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

▸ melt() & stack()/unstack() — wide ↔ long transformations


▸ pd.get_dummies — one-hot encoding with drop_first

⏰ 3.5 Time Series


DatetimeIndex pd.date_range, freq aliases: D, B, W, M, Q, A
Resampling .resample('M').mean() — upsampling & downsampling
Rolling & EWM .rolling(window=7), .ewm(span=12) — smoothing
Shifting .shift(), .diff(), .pct_change() — lagged features
Timezones tz_localize, tz_convert — DST-aware handling

⚡ 3.6 Performance Optimization


▸ Categorical dtype — 10x memory reduction on low-cardinality columns
▸ vectorized string ops: .[Link], .[Link], regex groups
▸ eval() and query() — numexpr backend for large DataFrames
▸ Chunked reading: pd.read_csv(chunksize=) for files > RAM
▸ Polars vs Pandas — when to switch, API comparison

🧪 HANDS-ON LAB: Full EDA pipeline on NYC Taxi Trip dataset (1M+ rows).
Clean, aggregate, visualize ride patterns, and engineer time features.
Estimated time: 4 hours | Deliverable: Notebook + executive summary

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

📈 MODULE 4: MATPLOTLIB & SEABORN — VISUALIZATION

A picture is worth a thousand rows. Turn raw numbers into compelling, publication-quality visuals that drive
insight and decision-making.

4.1 Matplotlib Architecture


Figure vs Axes [Link](), [Link](), add_subplot() — hierarchy
OOP API fig, ax = [Link]() — preferred pattern
Backends Agg (PNG), SVG, PDF, interactive Qt/TkAgg
Styling [Link], rcParams, custom stylesheets
Saving savefig(dpi=300, bbox_inches='tight') — print quality

🎨 4.2 Essential Plot Types


▸ Line plots — time series, multi-line, twin axes
▸ Scatter plots — alpha, color mapping, bubble size encoding
▸ Bar & horizontal bar — grouped, stacked, percentage
▸ Histograms & density (KDE) — bins, normed, cumulative
▸ Box plots & violin plots — quartiles, jitter strips
▸ Heatmaps — annotated correlation matrices
▸ Pie & donut charts — when NOT to use them

📊 4.3 Seaborn Statistical Plots


Distribution histplot, kdeplot, ecdfplot, rugplot
Categorical stripplot, swarmplot, boxplot, violinplot, barplot
Relational scatterplot, lineplot — hue/size/style mappings
Regression regplot, lmplot, residplot — fit & confidence bands
Matrix heatmap, clustermap — hierarchical clustering
FacetGrid col=, row= — multi-panel conditional plots

🌐 4.4 Plotly Interactive Charts


▸ [Link], [Link], [Link] — Plotly Express one-liners

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

▸ [Link] with traces — full control over layout


▸ Animated charts: frame=, animation_frame= — time evolution
▸ 3D scatter plots and surface plots
▸ Choropleth maps — country/state-level data on maps
▸ Dash basics — embedding Plotly in a web dashboard

4.5 Design Principles for Data Viz


Color Theory Colorblind-safe palettes (viridis, cividis), diverging vs sequential
Clutter Reduction Tufte's data-ink ratio, removing chartjunk
Annotations [Link](), [Link](), [Link]()
Multi-panel GridSpec, constrained_layout, tight_layout
Accessibility Alt-text, patterns vs color, WCAG contrast ratios

🧪 HANDS-ON LAB: Build a 6-panel exploratory dashboard for a financial dataset.


Include correlation heatmap, distribution plots, time series, and regression line.
Estimated time: 3 hours | Deliverable: Saved PNG/HTML dashboard

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

🤖 MODULE 5: MACHINE LEARNING WITH SCIKIT-LEARN

Scikit-learn is the gold standard for classical ML. Master the Estimator API, model selection, and
interpretability techniques used in industry.

⚙️ 5.1 The Scikit-learn Estimator API


fit / transform Estimator, Transformer, Predictor — duck-typing
Pipeline make_pipeline, FeatureUnion — chaining steps
ColumnTransformer Applying different transformers per column type
set_output pandas output API (sklearn ≥ 1.2) — interoperability
clone() Cloning estimators for cross-validation safety

🔧 5.2 Preprocessing
▸ Scaling: StandardScaler, MinMaxScaler, RobustScaler, MaxAbsScaler
▸ Encoding: OneHotEncoder, OrdinalEncoder, TargetEncoder, LabelEncoder
▸ Imputation: SimpleImputer, KNNImputer, IterativeImputer (MICE)
▸ Feature engineering: PolynomialFeatures, SplineTransformer
▸ Text: TfidfVectorizer, CountVectorizer, HashingVectorizer

📚 5.3 Supervised Learning Algorithms


Linear Models LinearRegression, Ridge, Lasso, ElasticNet, LogisticRegression
Tree Models DecisionTreeClassifier/Regressor — max_depth, min_samples
Ensembles RandomForest, GradientBoostingClassifier, HistGradientBoosting
SVMs SVC, SVR, kernel trick, C, gamma hyperparameters
Neighbors KNeighborsClassifier — distance metrics, weights, ball tree
Naive Bayes GaussianNB, MultinomialNB, BernoulliNB — text classification

🔵 5.4 Unsupervised Learning


▸ K-Means — inertia, elbow method, KMeans++ initialization
▸ DBSCAN — density-based, noise points, eps & min_samples
▸ Hierarchical clustering — dendrograms, ward/complete/average linkage

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

▸ PCA, TruncatedSVD, UMAP — dimensionality reduction comparison


▸ Isolation Forest, LOF — anomaly detection

📏 5.5 Model Evaluation


Classification Accuracy, Precision, Recall, F1, ROC-AUC, PR-AUC, MCC
Regression MAE, MSE, RMSE, R², MAPE — when each metric matters
Cross-Validation KFold, StratifiedKFold, GroupKFold, TimeSeriesSplit
Calibration calibration_curve, CalibratedClassifierCV
Threshold Tuning optimal F1 threshold, Youden's J, cost-sensitive cutoffs

5.6 Hyperparameter Tuning


▸ GridSearchCV — exhaustive, refit, scoring, n_jobs=-1
▸ RandomizedSearchCV — scipy distributions, n_iter budget
▸ HalvingGridSearchCV — successive halving for speed
▸ Optuna integration — Bayesian optimization beyond sklearn

🧪 HANDS-ON LAB: End-to-end binary classification on customer churn dataset.


Full pipeline: imputation → encoding → scaling → model → tuning → evaluation.
Estimated time: 5 hours | Deliverable: Trained pipeline + model card

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

🌲 MODULE 6: ADVANCED ML ALGORITHMS

Go beyond vanilla scikit-learn with industry-favourite gradient boosting frameworks, explainability tools, and
feature engineering techniques.

⚡ 6.1 XGBoost
Core Concepts Boosting theory, regularized objective, shrinkage
Key Parameters n_estimators, max_depth, learning_rate, subsample, colsample
Early Stopping eval_metric, eval_set, verbose_eval, best_ntree_limit
XGB API DMatrix, [Link], [Link] — low-level control
Sklearn API XGBClassifier, XGBRegressor — pipeline integration

🚀 6.2 LightGBM & CatBoost


▸ LightGBM: GOSS, EFB — leaf-wise growth vs level-wise
▸ LightGBM native categorical handling, faster on large data
▸ CatBoost: Ordered boosting, symmetric trees, Cat features natively
▸ Benchmark comparison: speed, accuracy, memory on tabular data

🔍 6.3 Model Explainability (XAI)


SHAP TreeExplainer, KernelExplainer — global & local explanations
SHAP Plots beeswarm, waterfall, force, dependence — storytelling
LIME Local surrogate models — black-box explanations
Permutation permutation_importance — model-agnostic feature ranking
Partial Dependence PartialDependenceDisplay, ICE plots — marginal effects

6.4 Feature Engineering


▸ Target encoding with cross-fitting to prevent leakage
▸ Binning & discretization: [Link], [Link], KBinsDiscretizer
▸ Interaction features: products, ratios, polynomial combos
▸ Date features: day-of-week, is_weekend, days_since_event
▸ Aggregation features: group-level statistics — mean encoding
▸ Cyclical encoding: sin/cos for hours, months, angles

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

🧪 HANDS-ON LAB: Kaggle-style tabular competition pipeline — feature engineering,


LightGBM + XGBoost stacking, SHAP-driven feature selection, leaderboard submission.
Estimated time: 6 hours | Deliverable: Submission CSV + analysis notebook

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

🧠 MODULE 7: DEEP LEARNING — TENSORFLOW & KERAS

Master neural networks from the perceptron to transformers, using TensorFlow 2.x and the modern Keras 3
API.

⚡ 7.1 Neural Network Foundations


Perceptron Weights, bias, activation — mathematical intuition
Forward Pass Matrix multiplication through layers, XW + b
Backpropagation Chain rule, gradient flow, vanishing/exploding gradients
Activations ReLU, Leaky ReLU, GELU, Swish, Sigmoid, Tanh, Softmax
Loss Functions BCE, CCE, MSE, Huber, Focal loss — choosing the right one

7.2 Building Models with Keras


▸ Sequential API — simple stack of layers
▸ Functional API — multi-input, multi-output, skip connections
▸ Model subclassing — custom training loops with GradientTape
▸ Layer types: Dense, Dropout, BatchNorm, LayerNorm, Embedding
▸ [Link], fit, evaluate, predict — the full lifecycle
▸ Callbacks: EarlyStopping, ModelCheckpoint, ReduceLROnPlateau, TensorBoard

7.3 Convolutional Neural Networks (CNNs)


Convolution Kernel, stride, padding, receptive field calculation
Pooling MaxPool, AveragePool, GlobalAveragePool
Architecture VGG16, ResNet50, EfficientNetV2 — transfer learning
Fine-tuning Freeze base layers, unfreeze gradually, learning rates
Data Augmentation Keras layers: RandomFlip, RandomRotation, RandomZoom

🔄 7.4 Recurrent Neural Networks (RNNs)


▸ Vanilla RNN — sequential data, hidden state, BPTT
▸ LSTM — forget/input/output gates, cell state — long-range dependencies
▸ GRU — simplified gating, faster training than LSTM
▸ Bidirectional RNNs — reading sequences both ways

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

▸ Sequence-to-sequence — encoder-decoder for translation

🌟 7.5 Transformers & Attention


Self-Attention Q, K, V matrices, scaled dot-product, multi-head
Positional Encoding Sinusoidal vs learned — injecting sequence order
BERT Fine-tuning Hugging Face Trainer API for classification tasks
ViT Vision Transformer — patch embedding for images
GPT Basics Autoregressive generation, causal masking

🧪 HANDS-ON LAB: Train a CNN on CIFAR-10, then fine-tune EfficientNetV2 with


transfer learning. Achieve >92% test accuracy. Visualize activations with Grad-CAM.
Estimated time: 6 hours | Deliverable: Saved .keras model + Grad-CAM notebook

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

📝 MODULE 8: NATURAL LANGUAGE PROCESSING (NLP)

Extract meaning, sentiment, and structure from unstructured text — one of the fastest-growing areas in
applied AI.

🔤 8.1 Text Preprocessing


Tokenization Word-level, sub-word (BPE/WordPiece), sentence
Normalization Lowercasing, Unicode NFC/NFKC, removing HTML/URLs
Stopwords NLTK corpus, custom domain stopwords
Stemming/Lemma PorterStemmer vs WordNetLemmatizer — when each helps
spaCy Pipeline nlp(text) — tokens, pos_, dep_, ents_ — blazing fast

📊 8.2 Classical NLP Features


▸ Bag of Words — CountVectorizer, vocabulary size, sparse matrices
▸ TF-IDF — term importance weighting, max_df/min_df filtering
▸ N-grams — bigrams, trigrams — capturing phrases
▸ Sentiment lexicons — VADER, TextBlob polarity/subjectivity

🔵 8.3 Word & Sentence Embeddings


Word2Vec CBOW vs Skip-gram, negative sampling, Gensim training
GloVe Global co-occurrence, pretrained 50-300d vectors
FastText Sub-word embeddings — handles OOV words
Sentence-BERT sentence-transformers library — semantic similarity
Cosine Similarity Finding analogies, clustering embeddings with UMAP

🤗 8.4 Hugging Face Transformers


▸ AutoTokenizer, AutoModel, AutoModelForSequenceClassification
▸ pipeline() — zero-shot classification, NER, QA, summarization
▸ Fine-tuning BERT on custom classification tasks with Trainer API
▸ Data collators, compute_metrics callback, evaluate library
▸ PEFT / LoRA — efficient fine-tuning of large language models

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

🧪 HANDS-ON LAB: Build a news sentiment classifier — scrape headlines, fine-tune


DistilBERT, deploy as REST API with FastAPI. Evaluate with F1 macro score.
Estimated time: 5 hours | Deliverable: Fine-tuned model + FastAPI service

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

MODULE 9: COMPUTER VISION WITH OPENCV

9.1 Image Processing Fundamentals


Reading & Display [Link], imshow, resize, cvtColor (BGR→RGB)
Geometric Transforms Rotation, scaling, affine warp, perspective warp
Filtering Gaussian blur, median filter, Sobel/Canny edge detection
Morphological Ops Erosion, dilation, opening, closing — noise removal
Color Spaces BGR, HSV, LAB — segmentation by color range

🎯 9.2 Object Detection


▸ Haar Cascades — face detection, fast but limited
▸ YOLOv8 — Ultralytics API, inference, custom training
▸ OpenCV DNN module — loading ONNX models
▸ Tracking: SORT, Deep SORT — multi-object tracking

LAB: Real-time face & pose detection pipeline using MediaPipe + OpenCV. ⏱️4 hours

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

⚙️ MODULE 10: DATA ENGINEERING & PIPELINES

10.1 SQL & Database Connectivity


SQLite & PostgreSQL sqlite3, psycopg2, SQLAlchemy ORM basics
Pandas SQL pd.read_sql, to_sql — DataFrame ↔ DB round-trips
Query Optimization EXPLAIN ANALYZE, indexing, vacuuming
DuckDB In-process OLAP — SQL on Parquet/CSV — blazing fast

✨ 10.2 Apache Spark with PySpark


▸ SparkSession, DataFrame API, lazy evaluation & DAG
▸ Transformations vs Actions — map, filter, groupBy, window functions
▸ MLlib — distributed ML pipelines, ALS recommender
▸ Spark Streaming basics — micro-batch processing

🔄 10.3 Workflow Orchestration


Apache Airflow DAGs, operators, sensors, XComs, Scheduler
Prefect Pythonic flows, tasks, state machine, cloud UI
dbt SQL transformations, models, tests, lineage graph

LAB: Build an Airflow DAG that fetches, transforms, and loads stock data nightly to PostgreSQL. ⏱️
5 hours

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

☁️ MODULE 11: CLOUD & MLOps DEPLOYMENT

📊 11.1 MLflow Experiment Tracking


Tracking mlflow.log_param, log_metric, log_artifact — runs
Model Registry Versioning models, stage transitions, annotations
Serving mlflow models serve — REST endpoint in one command
Projects MLproject file — reproducible runs across environments

🚀 11.2 Model Serving


▸ FastAPI — async REST endpoints, Pydantic validation, Swagger UI
▸ Docker — Dockerfile for ML services, docker-compose stack
▸ BentoML — ML-aware serving with batching & adaptive concurrency
▸ Triton Inference Server — NVIDIA GPU serving for deep learning

☁️ 11.3 Cloud Platforms


AWS SageMaker, S3, Lambda, ECR, CloudWatch
GCP Vertex AI, BigQuery ML, Cloud Run, Cloud Storage
Azure Azure ML, Databricks, Blob Storage, ACI
CI/CD for ML GitHub Actions — test, build, push, deploy pipeline

🧪 LAB: Package a trained model as Docker container, push to ECR, deploy on SageMaker endpoint.
4 hours

© 2026 DataSciencePro Academy | Confidential Page


🐍 Python for Data Science — DataSciencePro Academy

🚀 MODULE 12: CAPSTONE PROJECTS

Apply everything you've learned. Choose ONE major project or complete multiple mini-projects for a
comprehensive portfolio.

📊 Project A — End-to-End Predictive Analytics

Domain: Retail / Finance / Healthcare (your choice)


Tasks: EDA → feature engineering → model selection → tuning → deployment
Deliverable: Streamlit dashboard + REST API + documented model card
Duration: 15 hours

🧠 Project B — Deep Learning Application

Domain: Image classification OR text generation


Tasks: Data collection → augmentation → training → evaluation → Grad-CAM / attention viz
Deliverable: Trained model + web demo (Gradio / Hugging Face Spaces)
Duration: 20 hours

⚙️ Project C — MLOps Full Pipeline

Domain: Any regression or classification problem


Tasks: MLflow tracking → Docker packaging → CI/CD → cloud deployment → monitoring
Deliverable: GitHub repo with automated pipeline + live endpoint URL
Duration: 15 hours

🏆 Congratulations on completing Python for Data Science!


DataSciencePro Academy © 2026 | [Link]

© 2026 DataSciencePro Academy | Confidential Page

You might also like