I'm trying to use the field calculator to poplulate a string field in a table based on info in another string field. This is what I have:
def Reclass(Correction_Comments): if (MSAGSTREETNAME) = 'HEMLOCK': return 'IN PARCEL 103'
def Reclass(Correction_Comments):
if (MSAGSTREETNAME) = 'HEMLOCK':
return 'IN PARCEL 103'
In the call box:
Reclass( !Correction_Comments!)
Reclass( !Correction_Comments!)
I keep getting a parsing error. What's wrong?