Turnout by Age#
voters = pd.read_csv(
"../../data/cambridge/general-vote-history.csv", low_memory=False
).set_index(["year", "Voter ID Number"])
age_grouped = turnout_by_year_key(voters, "age", 4)
voters = pd.read_csv(
"../../data/cambridge/general-vote-history.csv", low_memory=False
).set_index(["year", "Voter ID Number"])
age_grouped = turnout_by_year_key(voters, "age", 4)