How do I write a function that would accept a DataFrame and sum the total of two series and divide them.
df has two series: df["infections"] = [30, 60, 40,