I am trying to use field calculator to populate a column based on the the number of characters in another column. I am using the Python Parser. I am not sure if the
.count() function is appropriate in this case or if I am even using it right.
My pre-logic script is:
def reclass(f1): if f1.count() >= 4: return "Yes" else: return "No" Label = reclass( !HUB! )