I am trying to find the correct syntax for the UpdateCursor where I look for part of a text from another field. I have many values of PCD zoning codes (PCD 03, PCD 04, PCD 05, etc). I want to calculate my "ZONING_DESC" field based off these PCD values in my "ZONING" field where all PCD values get calculated to "Planned Commercial Development". I know that '==' operator is finding exact values. Is there an operator for finding like values?
Here is my Code:
with arcpy.da.UpdateCursor(Zoning, ["ZONING", "ZONING_DESC"]) as cursor: if row == 'PCD%': row = 'Planned Commercial Development' cursor.updateRow(row)