this is the dtype of my dataframe:
tradePrice first float64
amax float64
amin float64
last float64
<lambda> float64
tradeVolume <lambda> int64
sum int64
mean float64
I am trying to rename the name of the headers and I can not do this within the groupby. How can I rename it in the dataframe?