Iterate 45 times over a numpy.ndarray of shape (45 2040 5200 3) can't concatenate int to tuple

Resolving the can only concatenate tuple (not 'int') to tuple Error When Iterating Over Numpy Arrays