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

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Apr 11, 2018 at 18:54

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):
answered Apr 11, 2018 at 18:58

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.