Hi community....
I need your help to create python script to calculate the value of the field that called "code" type short integer according to following condition:
def reclass(industrial_area):
if (industrial_area > two_third_neigh_area):
return 13
elif (industrial_area > one_third_neigh_area and industrial_area< two_third_neigh_area):
return 16
elif (industrial_area < one_third_neigh_area):
return unclassified
I tried to apply the above if statement but I got this message:
