Files
Tirsvad 1d06a2c892 Add notebook, step screenshots, README screenshots and three-language wiki
Closes #18
Closes #19
Closes #20
Closes #21
Closes #22
Closes #23
Closes #24
Refs #25

Task: MIL-003#1
2026-11-12 08:45:20 +08:00

22 lines
1.8 KiB
Markdown

**English** · [Dansk](Home-da) · [Bahasa Malaysia](Home-ms)
# LEGO Analysis for Course
Day 74 of Udemy's *100 Days of Code*: aggregate and merge data in Pandas while analysing a LEGO dataset. This wiki explains what each lecture step teaches. Every step has a screenshot generated from the code.
| Page | What you gain |
| --- | --- |
| [Getting started](Getting-Started) | A `.venv`, the install and how to run and test the project |
| [Step 1: Exploring the brick colours](Step-1-Colours) | How many colours does LEGO make, and how many are transparent? |
| [Step 2: The oldest and the largest sets](Step-2-Sets) | When were the first sets released, how many were there, and which set has the most parts? |
| [Step 3: Sets released per year](Step-3-Sets-per-Year) | How did the number of released sets change over time? |
| [Step 4: Themes per year with .agg()](Step-4-Themes-per-Year) | How many different themes did LEGO sell each year? |
| [Step 5: Two axes in one chart](Step-5-Two-Axes) | How can sets and themes share one chart when their scales differ? |
| [Step 6: Average parts per set](Step-6-Parts-per-Set) | Did LEGO sets grow in size and complexity? |
| [Step 7: Themes, primary keys and foreign keys](Step-7-Themes-and-Keys) | Which theme names belong to the theme ids, and how are the tables linked? |
| [Step 8: Merging DataFrames on a key](Step-8-Merge) | How do we combine the number of sets per theme with the theme names? |
| [Step 9: A bar chart of the top 10 themes](Step-9-Bar-Chart) | Which themes have the most sets? |
| [Summary](Summary) | Everything the lecture taught, in one list |
The five questions of the assignment: the largest set, the first year and its sets, the theme with the most sets, the growth of sets and themes per year, and whether sets grew in size.