mean of a column with another column pandas dataframe code example
Example: python - caéculate the average based on the level of a second column in a df
df.groupby('StationID')['BiasTemp'].mean()
df.groupby('StationID')['BiasTemp'].mean()