Skip to main content

Python Tutorials

Welcome to the Python tutorials section. Here you'll find comprehensive guides covering the essential Python libraries for data science, scientific computing, and visualization.

Available Libraries

LibraryDescriptionUse Cases
PandasTabular data manipulation with DataFrames and SeriesData wrangling, ETL, financial analysis, time series
xarrayMulti-dimensional labeled arrays for scientific dataClimate/weather data, geospatial, satellite imagery, NetCDF
NumPyN-dimensional arrays, linear algebra, and random samplingNumerical computing, signal processing, ML foundations
MatplotlibPublication-quality static and interactive visualizationsData exploration, scientific figures, dashboards, reports

How to Use These Tutorials

Each library has three parts:

  1. Overview — Course outline and what you'll learn
  2. Tutorial — Comprehensive walkthrough with code examples
  3. Common Methods — Quick-reference guide for frequently used functions

📥 Sample Datasets

Each tutorial includes downloadable sample datasets so you can follow along with every example in your own environment. Click on any tutorial above, then look for the Download the Sample Data section at the top of the tutorial page.

Available datasets

FileUsed InDescription
sales_data.csvPandasSales transactions for the capstone project (~500 rows)
employees.csvPandasEmployee records for merge/join examples (20 rows)
departments.csvPandasDepartment data for merge/join examples (5 rows)
weather_data.csvPandasDaily weather time series (2 years)
student_scores.csvPandasStudent scores for reshape/pivot examples (30 rows)
population_data.csvMatplotlibPopulation growth for 3 cities (2000–2024)
experiment_data.csvMatplotlibExperiment results with control & treatment groups (200 rows)
sensor_readings.csvNumPySensor temperature, humidity & pressure readings (1000 rows)
sample_data.txtNumPyTab-separated values for I/O examples (50 rows)
grid_data.csvxarray3D gridded weather data (time × latitude × longitude) — 15,000 rows