minBy
Returns the first row that has the smallest value in the given column, or throws an exception if DataFrame is empty.
API reference: minBy
minByOrNull
Returns the first row that has the smallest value in the given column, or null if DataFrame is empty.
02 November 2026