Skip to content

✏️ Exercises

Python: Data Analytics

View the live site — ijk37.com

Exercises

Home  |  Notes  |  Quiz Hub  |  Projects  |  Resources

Small, focused exercises for every topic in 01-notes/ — each file mirrors the matching notes file in number and subject.

Format per question: problem description → Solution code block → optional Alternative approach.


How to Use

  1. Open the exercise file that matches the notes topic being studied.
  2. Read the question and attempt a solution independently.
  3. Reveal the Solution block to compare approaches.
  4. Where an Alternative is shown, understand why both work.

01 — NumPy

File Questions Topics
01-01-numpy-intro-exe.md 8 array creation, arange/linspace, special arrays, list vs array, dtype, reshape, random, vectorized conversion
01-02-numpy-array-operations-exe.md 9 element-wise arithmetic, broadcasting, math functions, trig, rounding, where, clip, sort/argsort, stack
01-03-numpy-slicing-and-indexing-exe.md 8 1D slicing, views vs copies, boolean indexing, fancy indexing, where, replace, isin, unique
01-04-numpy-2d-arrays-exe.md 8 create, reshape, 2D indexing, boolean on 2D, row/col stats, transpose/dot, vstack, flatten vs ravel
01-05-numpy-statistics-exe.md 8 descriptive stats, argmin/argmax, percentiles, population vs sample std, cumsum, axis-wise, normalize, distributions

02 — Matplotlib

File Questions Topics
02-01-matplotlib-basics-exe.md 9 line plot, multiple lines, styles/markers, scatter, bar chart, horizontal bar, histogram, subplots, savefig

03 — Pandas

File Questions Topics
03-01-pandas-basics-exe.md 02 Series, boolean indexing, DataFrame, column/row access, inspect, filter, add/drop columns, sort, CSV I/O, apply
03-02-pandas-data-manipulation-exe.md 02 groupby, named agg, merge, concat, pivot table, melt, .str, missing values, apply, mini-analysis