sum elements in numpy array column code example
Example: sum elements array with step numy
b = [sum(a[current: current+5]) for current in xrange(0, len(a), 5)]
b = [sum(a[current: current+5]) for current in xrange(0, len(a), 5)]