I am trying to create a dummy variable from an existing dataset using ArcGIS's Field Calculator tool with a Python script. My conditions require the use of multiple fields to determine the output dummy variable. I have previously run this same script using a single variable condition without error. My code looks like this:
expression= "Reclass(!avg_incpsf!, !strip_dum!)"codeblock= """def Reclass(avg_incpsf, strip_dum): if (avg_incpsf >= 0 and avg_incpsf = 0 and avg_incpsf 26.1795309 and avg_incpsf 26.1795309 and avg_incpsf
expression= "Reclass(!avg_incpsf!, !strip_dum!)"codeblock= """def Reclass(avg_incpsf, strip_dum): if (avg_incpsf >= 0 and avg_incpsf = 0 and avg_incpsf 26.1795309 and avg_incpsf 26.1795309 and avg_incpsf