Pandas Training Course Logo

Getting Started

  • Installation Guide
    • System Requirements
    • Option 1: pip Installation
    • Option 2: Conda Installation
    • Option 3: environment.yml
    • Verify Installation
    • Jupyter Notebook Setup
    • VS Code Setup
    • Troubleshooting
      • Common Issues

Modules

  • Module 1: Introduction to Pandas
    • Learning Objectives
    • What is Pandas?
    • Why Pandas?
    • Installation
      • Using pip
      • Using conda
    • Virtual Environments
      • Creating a virtual environment
      • Installing project dependencies
    • Project Structure
    • Git and GitHub Basics
      • Essential Git commands
      • Typical workflow
    • First Pandas Program
    • Summary
    • Exercises
    • Further Reading
  • Module 2: Python Refresher
    • Learning Objectives
    • Variables and Data Types
    • Operators
    • Functions
    • Conditional Statements
    • Loops
      • for loop
      • while loop
      • List comprehensions (essential for Pandas)
    • Lists
    • Tuples (immutable sequences)
    • Dictionaries
    • Sets
    • File Handling
    • Common Built-in Functions for Data Work
    • Summary
    • Exercises
    • Further Reading
  • Module 3: Jupyter Notebook
    • Learning Objectives
    • What is Jupyter Notebook?
    • Installation
      • Starting the notebook server
    • Notebook Interface
      • Cell modes
    • Markdown Cells
    • Keyboard Shortcuts
      • Command mode (press Esc first)
      • Edit mode
    • Magic Commands
      • Line magics (%)
      • Cell magics (%%)
    • Interactive Widgets
      • Common widget types
    • Notebook Organisation
      • Best practices
      • Collapsible sections (MyST)
    • Exporting Notebooks
  • Module 4: Introduction to Pandas
    • Learning Objectives
    • Importing Pandas
    • Pandas Core Data Structures
    • Series
      • Creating a Series
      • Accessing Series data
      • Series operations
    • DataFrame
      • Creating a DataFrame
      • From other sources
    • The Index
    • Columns
    • Selecting Data
      • Using [] operator
      • Using .loc[] (label-based)
      • Using .iloc[] (position-based)
    • Filtering Data
    • Sorting Data
    • chaining Methods
    • Summary
    • Exercises
    • Further Reading
  • Module 5: Reading Data
    • Learning Objectives
    • Introduction
    • Reading CSV
      • Basic usage
      • Common parameters
      • Handling common CSV issues
    • Reading Excel
      • Handling nested JSON
    • Reading SQL
      • Connection strings
    • Reading Parquet
  • Module 6: Data Inspection
    • Learning Objectives
    • Previewing Data
      • head() — First N rows
      • tail() — Last N rows
      • sample() — Random rows
    • Shape and Structure
      • shape — Dimensions
      • columns and index
    • Data Types
      • dtypes — Column data types
      • Checking and converting types
    • Summary Information
      • info() — Concise DataFrame summary
      • describe() — Summary statistics
    • Memory Usage
    • Detecting Missing Values
      • Comparing isna() vs isnull()
    • Verifying Uniqueness
    • Value Counts
    • Comprehensive Inspection Function
    • Summary
    • Exercises
    • Further Reading
  • Module 7: Data Cleaning
    • Learning Objectives
    • Handling Missing Values
      • Detecting missing values
      • Removing missing values
      • Filling missing values
      • Interpolation
    • Handling Duplicates
    • String Cleaning
      • Commonly needed string operations
    • Renaming Columns
    • Replacing Values
    • Converting Data Types
    • Outlier Removal
    • Complete Cleaning Pipeline
    • Summary
    • Exercises
    • Further Reading
  • Module 8: Data Manipulation
    • Learning Objectives
    • .loc[] — Label-Based Selection
      • Row selection
      • Row and column selection
      • Boolean conditions with .loc[]
    • .iloc[] — Position-Based Selection
      • .loc[] vs .iloc[] comparison
    • .query() — String-Based Filtering
      • When to use .query() vs boolean indexing
    • Boolean Indexing
    • .apply() — Apply Function to Axis
      • Apply to columns
      • Apply to rows (axis=1)
      • Using result_type
    • .map() — Transform Series Values
      • With a dictionary
      • With a function
      • .map() vs .apply()
    • .replace() — Value Replacement
    • Lambda Functions
    • Advanced .apply() Examples
    • Performance Comparison
    • Summary
    • Exercises
    • Further Reading
  • Module 9: Aggregation and Grouping
    • Learning Objectives
    • GroupBy Basics
      • Grouping by a single column
      • Grouping by multiple columns
    • Aggregate Functions
      • Single aggregate
      • Multiple aggregates
      • Different aggregates per column
      • Named aggregation (Pandas 0.25+)
    • Transform and Filter
      • Transform — broadcast group statistics
      • Filter — keep groups based on condition
    • Pivot Tables
      • Multi-level pivot
      • Pivot with multiple values
    • Crosstab
      • Normalised crosstab
    • Advanced GroupBy
      • Custom aggregation functions
      • Grouping with categoricals
      • GroupBy with .apply()
    • Practical Example: Sales Dashboard
    • Performance Tips
    • Summary
    • Exercises
    • Further Reading
  • Module 10: Merging and Joining Data
    • Learning Objectives
    • The pd.merge() Function
    • Types of Joins
      • Inner join
      • Left join
      • Right join
      • Outer join (full outer)
    • Join Types Visualised
    • Merging on Different Column Names
    • Merging on Multiple Columns
    • Handling Overlapping Column Names
    • Index-Based Merge with .join()
      • Joining on index with a column from another
    • pd.concat() — Concatenating Along an Axis
      • Row-wise concatenation (stacking)
      • Column-wise concatenation
      • Handling index labels
    • Appending Data
    • One-to-Many and Many-to-Many Relationships
      • One-to-many merge
      • Many-to-many merge
    • Validating Merge Relationships
    • Practical Example: Sales Data Warehouse
    • Summary
    • Exercises
    • Further Reading
  • Module 11: Time Series Analysis
    • Learning Objectives
    • DateTime Basics
      • Creating Timestamps
      • Parsing dates in DataFrames
    • Creating Date Ranges
      • Common frequency aliases
    • Time-Based Indexing
    • Resampling
      • Downsampling (higher → lower frequency)
      • Upsampling (lower → higher frequency)
      • Custom resampling functions
    • Rolling Statistics and Moving Averages
      • Simple moving average
      • Rolling with min_periods
      • Other rolling statistics
      • Expanding windows
    • Exponentially Weighted Moving Average (EWMA)
    • Time Zones
    • Shift and Lag
    • Seasonal Analysis
      • Extracting date components
      • Seasonal decomposition
      • Group by seasonal period
    • Practical Example: Climate Data Analysis
    • Performance Considerations
    • Summary
    • Exercises
    • Further Reading
  • Module 12: Data Visualization with Pandas
    • Learning Objectives
    • Matplotlib Setup
    • Line Charts
      • Multiple lines
      • Customising line styles
    • Scatter Plots
      • Colour-coded scatter
    • Histograms
      • Multiple histograms
      • Density plot (KDE)
    • Bar Charts
      • Horizontal bar chart
      • Grouped bar chart
      • Stacked bar chart
    • Box Plots
      • Using Pandas .plot.box()
    • Pie Charts
    • Area Charts
      • Stacked area for composition
    • Subplots
      • Automatic subplots per column
      • Manual subplots with Matplotlib
    • Saving Figures
    • Complete Example: Exploratory Dashboard
    • Summary
    • Exercises
    • Further Reading
  • Module 13: Advanced Pandas
    • Learning Objectives
    • MultiIndex (Hierarchical Indexing)
      • Creating a MultiIndex
      • Creating from a tuple index
      • Creating with set_index()
      • Indexing with MultiIndex
      • Sorting with MultiIndex
      • Unstack and stack
      • Multi-level columns
    • Window Functions
      • Custom rolling window functions
      • Weighted moving average
      • Expanding window operations
    • Categorical Data
      • Creating categorical data
      • Working with categories
      • Memory comparison
    • Performance Optimization
      • Vectorisation
      • Using .values or .to_numpy()
      • Using numba for compiled operations
      • Using itertuples() instead of iterrows()
    • Memory Optimization
      • Efficient dtypes
      • Reading data in chunks
      • Using pd.read_csv() optimisations
    • Practical Example: Optimising a Data Pipeline
    • Summary
    • Exercises
    • Further Reading
  • Module 14: Real-World Projects
    • Learning Objectives
    • Project 1: Sales Dashboard
      • Deliverables
    • Project 2: COVID-19 Analysis
      • Deliverables
    • Project 3: Climate Data Analysis
      • Deliverables
    • Project 4: Agriculture Data Analysis
      • Deliverables
    • Project 5: Remote Sensing Vegetation Analysis
      • Deliverables
    • Project 6: Water Resources Analysis
      • Deliverables
    • Project 7: Land Cover Change Detection
      • Deliverables
    • Project 8: Population Analysis
      • Deliverables
    • How to Approach Each Project
    • Summary
    • Further Reading
  • Module 15: Exercises and Practice
    • Learning Objectives
    • Exercise Types
    • Practice Questions
      • Module 1–2: Introduction and Python Refresher
      • Module 3–4: Jupyter and Pandas Basics
      • Module 5–6: Reading Data and Inspection
      • Module 7–8: Data Cleaning and Manipulation
      • Module 9–10: Aggregation and Merging
      • Module 11–12: Time Series and Visualization
    • Coding Exercises
      • Exercise 1: DataFrame Basics
      • Exercise 2: GroupBy Operations
      • Exercise 3: Data Cleaning
      • Exercise 4: Merge and Join
      • Exercise 5: Time Series
      • Exercise 6: Visualization
    • Challenge Problems
      • Challenge 1: Sales Analysis Pipeline
      • Challenge 2: Multi-Dataset Merger
      • Challenge 3: Weather Anomaly Detection
    • Quizzes
      • Quiz 1: Fundamentals
      • Quiz 2: Data Manipulation
      • Quiz 3: Advanced Topics
    • Assignments
      • Assignment 1: Customer Churn Analysis
      • Assignment 2: Financial Portfolio Analysis
    • Solutions
      • Accessing Solutions
    • Summary
    • Further Reading
  • Module 16: Capstone Project
    • Learning Objectives
    • Project Overview
    • Phase 1: Project Selection
      • Recommended Project Themes
    • Phase 2: Data Collection
      • Public Data Sources
      • Data Requirements
    • Phase 3: Data Cleaning
    • Phase 4: Exploratory Data Analysis (EDA)
    • Phase 5: Data Transformation and Analysis
    • Phase 6: Visualisation
    • Phase 7: Statistical Summaries
    • Phase 8: Documentation
      • Jupyter Notebook Structure
      • README.md
    • Phase 9: GitHub Publication
      • Step 1: Create a Repository
      • Step 2: Repository Structure
      • Step 3: Best Practices
    • Rubric
    • Final Checklist
    • Summary
    • Further Reading

Exercises

  • Exercises
    • Exercise Types
    • Exercise Index
    • Tips for Success

Projects

  • Real-World Projects
    • Project List
      • Project 1: Sales Dashboard
        • Problem Statement
        • Learning Objectives
        • Dataset
        • Deliverables
        • Solution Approach
      • Project 2: COVID-19 Analysis
        • Problem Statement
        • Learning Objectives
        • Dataset
        • Deliverables
      • Project 3: Climate Data Analysis
        • Problem Statement
        • Learning Objectives
        • Dataset
        • Deliverables
      • Project 4: Agricultural Analysis
        • Problem Statement
        • Learning Objectives
        • Dataset
        • Deliverables
      • Project 5: Remote Sensing Vegetation Analysis
        • Problem Statement
        • Learning Objectives
        • Dataset
        • Deliverables
      • Project 6: Water Resource Monitoring
        • Problem Statement
        • Learning Objectives
        • Dataset
        • Deliverables
      • Project 7: Land Cover Change Analysis
        • Problem Statement
        • Learning Objectives
        • Dataset
        • Deliverables
      • Project 8: Population Analysis
        • Problem Statement
        • Learning Objectives
        • Dataset
        • Deliverables
    • Project Overview
    • Project Structure
    • How to Use

Reference

  • Frequently Asked Questions
    • General
    • Technical
    • Pandas
    • Course Content
  • Glossary
Pandas Training Course
  • Search


© Copyright 2026, Pandas Training Course.

Built with Sphinx using a theme provided by Read the Docs.