Numpy how to iterate over columns of array?
This should give you a start
>>> for col in range(arr.shape[1]):
some_function(arr[:,col])
[1 2 3 4]
[99 14 12 43]
[2 5 7 1]
Just iterate over the transposed of your array:
for column in array.T:
some_function(column)