I figured out that I can use field calculator on a single column in ESRI arcgis 10.3 attribute window as follows:
def RemoveNULL(x): if x is None: return '' elif x == '': return '0' else: return xRemoveNULL(str(!myxField!))What I really want to do is find a way to find all the null records for all fields in a shape file that are NULL (truely empty or '') and change them to zero but preserve all other values (double or int numeric). I don't care about text.
أكثر...
def RemoveNULL(x): if x is None: return '' elif x == '': return '0' else: return xRemoveNULL(str(!myxField!))What I really want to do is find a way to find all the null records for all fields in a shape file that are NULL (truely empty or '') and change them to zero but preserve all other values (double or int numeric). I don't care about text.
أكثر...