Numpy Setting Array Element With Sequence Of Events