Please use '==' rather than '=' as equal operator in non-sql expression.

attachments-2021-06-Xujp7mn260c478d883feb.png

attachments-2021-06-Xujp7mn260c478d883feb.png

运行 报错:Please use '==' rather than '=' as equal operator in non-sql expression.attachments-2021-06-Xujp7mn260c478d883feb.png这段赋值为啥会有问题啊

请先 登录 后评论

1 个回答

wale

这个被解析为表达式,请用 ["col"] 试一下:

```

aa_copy["tick_pnl"] = aa_copy["tick_return"]

```

请先 登录 后评论