do you have multiple instances of the table open? close down all your ArcGIS applications and open up a fresh mxd then retry.
return 3 is a number and will produce an error
return "3" or return str(3) .... will return a string representation of a number which you can use in that field
Hi, try adding an else statement to handle the bulk of the values which don't meet the condition.
def Reclass(arg):
if arcg.endswith(""):
return "3"
else:
return arg
Thank you for your reply.
do you have multiple instances of the table open? close down all your ArcGIS applications and open up a fresh mxd then retry.
There must be an invisible error in the layer.
It's solved by using a different layer.
Thanks for your help.