apply_

apply_(obj, fun, *args, **kwargs)

Apply fun over margins / elements of obj.

R equivalent: apply() / lapply() / sapply()