snowflake.snowpark.functions.min_by¶
- snowflake.snowpark.functions.min_by(col_to_return: Union[Column, str], col_containing_minimum: Union[Column, str], maximum_number_of_values_to_return: Optional[int] = None) Column[source]¶
Finds the row(s) containing the minimum value for a column and returns the value of another column in that row.
Example: