4

I am attempting to reclassify a field in ArcMap using python within field calculator.

Below is screenshot of how it is set up. when I run the reclassify I get an error, and my prepossessing results give me an error in syntax. Also attached is the geprocessing results. I am sure this is a very simple fix, I am just very new to python.

enter image description here enter image description here

1 Answer 1

8

When calling your function, put the fields between exclamation points

Reclass(!Map Value!)

In your function, use a single word for your variable name

def Reclass(Map_Value):

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.