df = df.groupby(F.upper(F.col(\'county\'))).agg({\'totalvisitor.age\':\'avg\'}).show() creates \'avg(totalvisitor.age AS age)\' column
age
I want to use anot