**Examples**

In [1]:

```
import numpy as np
import pandas as pd
```

In [2]:

```
df = pd.DataFrame({'cost': [350, 250, 200],
'revenue': [200, 350, 400]},
index=['P', 'Q', 'R'])
df
```

Out[2]:

Comparison with a scalar, using either the operator or method:

In [3]:

```
df == 200
```

Out[3]:

In [4]:

```
df.ge(200)
```

Out[4]: