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)
../_images/b8506e0072e13778beeace95320536351a93a3a4212d2feed74dfb10fe2183b1.png
../_images/0a554bb5dd3065d71a498ca9ec5edd8bdb9d41a6e7be6bd4e3b13763f1ece279.png
../_images/705155e3e2bc8eb02f668afa78b1cdfb588d7ca3110c2c237d31116e0362b0a8.png
../_images/5777ffa617e9f0e52cd4d16580ec302666d18f11d3430ad52878e3c796f536c2.png
../_images/780feb9bd33640b7ae43e82e6ebbae9fea6a44651e9954076f1a521fbdc90a74.png
../_images/4eb5243a293a4b9b7a92989b970bec5f33f3e1cc75658aa7a4352e606e2cd9b3.png
../_images/039d1c86e127e55d17eca0f6de993345f0d98fcd820b299c021b484351dd79a7.png