Examples

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