Is there any way to use max() and min() based on a function?

Open issue up for grabs: Add a `by` keyword to `maximum` and `minimum` · Issue #28210 · JuliaLang/julia · GitHub

(Of course, you could just write your own loop for this, which is perfectly fast.)

1 Like