This could work:
>>> int(''.join(map(str, [10, 22, 37, 45])))
10223745
Basically you use map(str, ...) to convert that array of integers to string, then ''.join to concatenate each of those strings, and finally int to convert the whole thing to an integer.
sum(arr.astype(str))?