Examples

In [1]:
import numpy as np
import pandas as pd
In [2]:
s = pd.Series([2, 4, 6, 8])
s
Out[2]:
0    2
1    4
2    6
3    8
dtype: int64
In [3]:
s.agg('min')
Out[3]:
2
In [4]:
s.agg(['min', 'max'])
Out[4]:
min    2
max    8
dtype: int64