snowflake.snowpark.functions.regr_avgy¶
- snowflake.snowpark.functions.regr_avgy(y: Union[Column, str], x: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.29.0/snowpark-python/src/snowflake/snowpark/functions.py#L11175-L11190)¶
Returns the average of the dependent variable for non-null pairs in a group, where x is the independent variable and y is the dependent variable.
Example: