
Hello Community members!
A solution to last week’s challenge can be found here.

Thank you, @Qiu , for creating this fun challenge. Your submission was so extensive, we had to divide it into two parts! We appreciate your contributions to our Weekly Challenges!
Welcome to the first of two challenges where you will dive deep into the world of LEGO®! Get ready to uncover some cool facts about LEGO sets, themes, and part counts. Use the provided datasets to solve this challenge. Let’s go!
The datasets contain the following information:
- sets.csv: Data on LEGO sets, including a unique set number, name, release year, theme ID, part count, and image URL.
- themes.csv: Data on LEGO themes, with each theme having a unique ID, a name, and a reference to its parent theme when applicable.
You have three tasks to complete in this challenge:
- Determine which LEGO set contains the largest number of parts.
- Determine which LEGO theme has the largest number of sets.
- Calculate the average number of parts per set for each year. Use integer as the data type for this task.
Good luck!
The Academy Team
Data Sources:
https://rebrickable.com/downloads/
https://www.kaggle.com/code/andycapp29/best-bang-for-your-buck-lego-dataset-analysis/notebook