Examples

In [1]:
import numpy as np
import pandas as pd
In [2]:
idx = pd.MultiIndex.from_arrays([
    ['warm', 'warm', 'cold', 'cold'],
    ['fox', 'eagle', 'snake', 'spider']],
    names=['blooded', 'animal'])
s = pd.Series([4, 2, 0, 8], name='legs', index=idx)
s
Out[2]:
blooded  animal
warm     fox       4
         eagle     2
cold     snake     0
         spider    8
Name: legs, dtype: int64
In [3]:
s.min() 
Out[3]:
0

Min using level names, as well as indices:

In [4]:
s.min(level='blooded')
Out[4]:
blooded
warm    2
cold    0
Name: legs, dtype: int64
In [5]:
s.min(level=0)
Out[5]:
blooded
warm    2
cold    0
Name: legs, dtype: int64