Topic

Python for Data Analysis

NumPy and pandas in Jupyter: load, clean, join and reshape real data, then chart what it shows.

  • 8 hands-on labs
  • Beginner to advanced
  • Data plan

Opens with the Data plan, which includes the DevOps tracks, or with a Teams seat.

Labs

8 labs in order. Beginner to advanced.

Each lab is a real machine built only for you, with a guide and checks that read what you actually did.

  1. Beginner

    Python for data, in a notebook

    Run Python in a notebook on the data kernel, then write small scripts that turn a CSV file's text into numbers, skip the broken rows, total each shop and sum the takings for each weekday.

  2. Beginner

    Arrays that do the arithmetic

    Load a solar farm's day into NumPy, answer questions with aggregates along an axis, mask faulty readings, compare panels with broadcasting and fit a line by least squares.

  3. Beginner

    pandas: data from anywhere

    Load CSV, Excel, JSON, a paged web API and an HTML table into pandas DataFrames, keep data with its types in Parquet, and answer a question with a query, a merge and a sort.

  4. Intermediate

    Cleaning messy data

    Clean a clinic's messy export with pandas, one written rule at a time: duplicates, mixed date formats, names and phone numbers, missing ages, the wrong unit and impossible values.

  5. Intermediate

    Group, join and reshape

    Answer a ride company's questions by grouping and aggregating, joining tables without losing rows, pivoting long data into a grid, melting a wide table and resampling by week.

  6. Intermediate

    Charts that explain

    Make an air quality report's charts with matplotlib, seaborn and Plotly: a histogram, an ordered box plot, an annotated heatmap, an interactive line chart and a four chart dashboard.

  7. Advanced

    Exploring data and testing ideas

    Explore rental listings, test whether furnishing raises rent and depends on the district, fit a linear model of log rent with a fair test, and report the numbers.

  8. Advanced

    SQL from Python and data bigger than pandas likes

    Use SQL from Python with SQLite and SQLAlchemy, then work with ten million rows: DuckDB over Parquet, Polars' lazy plans, and a measured comparison with pandas.

Learning paths

On these learning paths.