This is the closest I could come up with: Convert list of ints to one number?
Basically, I have an list of lists of integers:
arr = [[2,3,4], [1,2,3], [3,4,5]]
How do I get this so that it's: [234, 123, 345] as integers?
Edit: I would like to vectorize this code that I can use:
result = np.zeros(len(arr))
for i in range(len(arr)):
result[i] = int(''.join(map(str, arr[i])))