by alanbernstein · 3y ago · 0 comments
np.sum(age>17)
(Assumes age is a np.array)
OP here; maybe I'll add a comment to the article to make the comparison between NumPy and APL for this expression. Thanks!