Closes #18 Closes #19 Closes #20 Closes #21 Closes #22 Closes #23 Closes #24 Refs #25 Task: MIL-003#1
1.8 KiB
1.8 KiB
English · Dansk · Bahasa Malaysia
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 | A .venv, the install and how to run and test the project |
| Step 1: Exploring the brick colours | How many colours does LEGO make, and how many are transparent? |
| Step 2: The oldest and the largest sets | When were the first sets released, how many were there, and which set has the most parts? |
| Step 3: Sets released per year | How did the number of released sets change over time? |
| Step 4: Themes per year with .agg() | How many different themes did LEGO sell each year? |
| Step 5: Two axes in one chart | How can sets and themes share one chart when their scales differ? |
| Step 6: Average parts per set | Did LEGO sets grow in size and complexity? |
| Step 7: Themes, primary keys and foreign keys | Which theme names belong to the theme ids, and how are the tables linked? |
| Step 8: Merging DataFrames on a key | How do we combine the number of sets per theme with the theme names? |
| Step 9: A bar chart of the top 10 themes | Which themes have the most sets? |
| 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.