CLN: Can we remove libalgos.arrmap_*?
Discussed in #27236, after that there will be only one non-test usage of libalgos.arrmap_* and it looks like it may be feasible to just use np.vectorize.  Check if this is correct and if there is a perf impact.