maxBy

Edit pageLast modified: 24 October 2025

Returns the first row that has the largest value in the given column, or throws exception if DataFrame is empty.