def Reclass(Updat_HYGR, Sq_Miles): if (Updat_HYGR == 'A'): return Sq_Miles
Reclass(!Updat_HYGR!, !Sq_Miles!)
def myUpdate(hygrp, sqmile): # using upper() in case value is lower case a if hygrp.upper()== 'A': return sqmile myUpdate(!Updat_HYGRP!, !Sq_Miles!)
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.