Firstly, we should define a function.
def IsFlood(join_count):
if join_count > 0:
return "Yes"
else:
return "No"
Secondly, we should call this function using the other fields like IsFlood(!Join_Count!)
Here is an example:
标签:code,Calculate,Field,should,ArcGIS,880,IsFlood From: https://www.cnblogs.com/alex-bn-lee/p/17719105.html