Disclaimer, I am terrible at writing my own functions especially in the field calculator. I have an address field (Address) with records that are missing street numbers. I would like to find these records, skip over them, and populate a field (Number) with the first element of the records that do have a street number. I would like to do this in the field calculator if possible (ArcMap 10.2.2, Basic).
Here's what I got so far:
def findNumbers(Address):
if Address.split(" ")[0].isalpha():
pass
elif int(Address.split(" ")[0]) >= 0:
Number = Address.split[0]
Number =
def findNumbers(!Number!)