Is this something that can be done cleanly in numpy without a for loop?
percentiles = np.array([50, 100]) data = np.array([[0, 1, 2, 3, 4], [10, 11, 12, 13, 1