File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 391391 " **Hint:** the column `60+ y.o.` contains the number of 60+ years old. The column `Total` contains\n " ,
392392 " the total number of inhabitants.\n " ,
393393 " \n " ,
394- " 2. Graphically represent the proportion of people more than 60 years old (`60+ y.o.`) across all cantons.\n " ,
394+ " 2. Graphically represent the proportion of people over 60 years old (`60+ y.o.`) across all cantons.\n " ,
395395 " Choose the most appropriate kind of plot."
396396 ]
397397 },
440440 "metadata" : {},
441441 "outputs" : [],
442442 "source" : [
443- " # %load -r 12 - solutions/solution_22.py"
443+ " # %load -r 14 - solutions/solution_22.py"
444444 ]
445445 },
446446 {
Original file line number Diff line number Diff line change 11import pandas as pd
22import seaborn as sns
3+ import matplotlib .pyplot as plt
34
45# Load the input data as a pandas DataFrame
56df_census = pd .read_csv ("data/swiss_census_1880.csv" )
You can’t perform that action at this time.
0 commit comments