Skip to content
Learn Python with BNHR

Course · Beginner · 16–20 hours

Companion

The solution to every exercise in Arrays & DataFrames, and why it works, one deliberate click away.

Code ADFLevel BeginnerLength 16–20 hoursModules 7Extras 9
On this page
  1. Overview
  2. 1. Start here
  3. 2. Arrays with NumPy
  4. 3. DataFrames
  5. Debugging drill D1. Debugging drill: a table that lies
  6. 4. Summarize and combine
  7. 5. Cleaning and time
  8. Debugging drill D2. Debugging drill: the report that goes wrong
  9. Stretch exercises S1. Stretch: DataFrames
  10. 6. polars
  11. Stretch exercises S2. Stretch: polars
  12. 7. Charts and sharing
  13. Stretch exercises S3. Stretch: charts
  14. Capstone. Capstone
  15. Primer P1. Primer: marimo and the Python this course assumes
  16. Certification and support

The solution to every exercise in the course's notebooks, and why it works. Use it when you have been stuck on an exercise for ten minutes, or when your check is green and you want to compare. Each answer stays closed until you ask for it.

1. Start here

  • Start here 00_start.py: 5 of 5 exercises explained

2. Arrays with NumPy

3. DataFrames

  • DataFrames 20_dataframes.py: 9 of 9 exercises explained

Debugging drill D1. Debugging drill: a table that lies

4. Summarize and combine

5. Cleaning and time

Debugging drill D2. Debugging drill: the report that goes wrong

Stretch exercises S1. Stretch: DataFrames

6. polars

  • polars 50_polars.py: 6 of 6 exercises explained

Stretch exercises S2. Stretch: polars

7. Charts and sharing

Stretch exercises S3. Stretch: charts

Capstone. Capstone

  • Capstone 70_capstone.py: 3 of 3 exercises explained

Primer P1. Primer: marimo and the Python this course assumes

Certification and support

We offer additional resources, certificates, ongoing support, and other perks to those who join our instructor-led training.

Join an upcoming training to take this as an instructor-led course, or contact us to arrange one for your team or organization.

Something new

Identify results
LayerExplore a module
ModuleSummarize and combine
AboutModule 4 of Arrays & DataFrames: groups, values within groups, survey weights, long and wide tables, and joins that neither lose nor multiply rows. Its sections, its notebooks to read on the web, and the companion's solutions and explanations.
CourseArrays & DataFrames, free