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