Numpy Setting An Array Element With A Sequence Of Transactions