Mathematical Functions
What built-in mathematical functions does pandas provide?
Answer
df.sum()df.mean()df.max()df.cumsum()df.pct_change()
Depending on the function and whether it is applied to a DataFrame or a column, it returns a scalar, a Series, or a DataFrame. The parameters are self-explanatory.