I am trying to turn this into a loop variable to save space but unsure what I am doing wrong-
This is the code fully written out-
df0 = pd.crosstab(df[\'Ge