I have a pandas DF with several columns. I want to apply the following (conceptual):

`df['Z'] = int( max(df[['A','B']].max(axis=1) ) > CONST )`

In other words: 

1) `max(df[['A','B']]) > CONST` would return `TRUE` or `FALSE`

2) in `df['Z']` I want to store a `1` or `0`, depending on the previous condition.

I know that to get the max of two columns I can do:

```
df['Z'] = df[['A','B']].max(axis=1)

```

I don't know how to compare that max with a given CONST?

How can I accomplish that?

Thanks!