When I run this code
import pandas as pd import numpy as np def add_prop(group): births = group.births.astype(float) group[\'prop\'] = births/births.
Put
import matplotlib.pyplot as plt
at the top, and
plt.show()
at the end.