I've got a df: 

```
import pandas as pd
import numpy as np

df = pd.DataFrame({"price":[1.1,66.3,11,15.2,1.1], 
                   "qty":[14,2,1,10,1],
                   "c_h":['cheese','ham','ham','cheese','ham'],
                   "qual":['good','good','bad','good','bad']})

```

The df looks like this when printed: 

```
      c_h   price  qty  qual
0  cheese     1.1   14  good
1     ham    66.3    2  good
2     ham    11.0    1   bad
3  cheese    15.2   10  good
4     ham     1.1    1   bad

```

I'm trying to return a `price` of `'c_h'=='ham' and 'qual=='bad'` on the minimum index value from a the df. The minimum index is the lowest numerical value for index currently `[0,1,2,...]`in which that criteria is met 

In this example, the minimum index sought would be 2 and the returned price would be 11.0. 

Note: I'm working mostly with `pandas` but I could also use `numpy`. 

I thought it'd be something like 

```
df[df['c_h']=='ham' and 'qual'=='bad'].min()[index]

```

but that's not working.