**English** · [Dansk](Summary-da) · [Bahasa Malaysia](Summary-ms) # What the lecture taught - Markdown cells with HTML: headings with `#` and images with the `` tag. - `.nunique()`, `.value_counts()` and `.groupby().count()` to count. - `.sort_values()` and filtering with a condition. - Slicing DataFrames like lists, for example `df[:-2]` and `df[:10]`. - `.agg()` with a dictionary to run one operation per column, and `.rename()` for column names. - Line charts with two separate axes (`.twinx()`), scatter plots and bar charts in Matplotlib. - Primary and foreign keys in a relational database, and `pd.merge(..., on="id")` to combine tables. Answers: the largest set has 9,987 parts, LEGO started in 1949 with 5 sets, Star Wars has the most sets (753), the range of sets and themes grew strongly from the mid-1990s, and the average set grew from about 12 parts (1954) to about 222 (2017).