Averaging a table like this is not a problem
table = [[1,2,3,0],[1,2,3,0],[1,2,3,4]]
You can
print numpy.average(table,axis=0)
But what if I have uneven sequences like:
table = [[1,2,3],[1,2,3],[1,2,3,4]]
Then the result should be:
1,2,3,4
As the element containing number 4 only occurs once. and 4/1 = 4. But numpy will not allow this.
ValueError: setting an array element with a sequence.