python mean from df columns pandas code example
Example 1: mean of a column pandas
df["Column"].mean()
Example 2: average out all rows pandas
df.mean(axis=0)#average for each column
df.mean(axis=1)#average for each row
df["Column"].mean()
df.mean(axis=0)#average for each column
df.mean(axis=1)#average for each row