What is the equivalent of this code

```
df_train['uf'] = (df_train['home_score'] + df_train['away_score'] < 4) * 1

```

for

```
df_train['d'] = (df_train['home_score'] = df_train['away_score']) * 1

```

When `True` = `1` when `False` = `0`