gpt4 book ai didi

openrefine - 如何在openrefine的if语句中使用or语句

转载 作者:行者123 更新时间:2023-12-05 04:05:54 24 4
gpt4 key购买 nike

我需要在 Openrefine 中验证 if 条件内的 2 个值我已经尝试过:

if(value > 5.6 | < -33, "inside", "outside")

if(value > 5.6 || < -33, "inside", "outside")

if(value > 5.6 or < -33, "inside", "outside")

最佳答案

这个有效 -

if(or(value > 5.6, value < -33) , "Inside", "Outside")

想想,这比预期的要容易,GREL 语言有时给人留下深刻印象。

关于openrefine - 如何在openrefine的if语句中使用or语句,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50536813/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com