If I understand your question correctly, you need an array containing the average value of each channel for each of the three images. (i.e. an array of the form (10,3)) (let me know in the comments if this is incorrect and I can edit this answer)
If you are using a numpy version greater than 1.7, you can pass multiple axes into np.meana tuple
mean_values = data.mean(axis=(2,3))
Otherwise, you will have to smooth the array first to get it in the correct form.
mean_values = data.reshape((data.shape[0], data.shape[1], data.shape[2]*data.shape[3])).mean(axis=2)
source
share