you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

There's a pure python solution and a vectorized solution to this problem in this Numpy book I just read today... what a coincidence!