snowflake.snowpark.functions.dp_interval_high¶

snowflake.snowpark.functions.dp_interval_high(aggregated_column: Union[snowflake.snowpark.column.Column, str]) → Column[source]¶

Returns the high end of the confidence interval for a differentially private aggregate. This function is used with differential privacy aggregation functions to provide the upper bound of the confidence interval for the aggregated result.

Parameters:

aggregated_column (ColumnOrName) – The result of a differential privacy aggregation function.

Returns:

The high end of the confidence interval for the differentially private aggregate.

Return type:

Column

Example:

>>> from snowflake.snowpark.functions import sum as sum_
>>> df = session.create_dataframe([[10], [20], [30]], schema=["num_claims"])
>>> df.select(sum_(df["num_claims"]).alias("sum_claims")).select(dp_interval_high("sum_claims")).collect()
[Row(DP_INTERVAL_HIGH("SUM_CLAIMS")=None)]
Copy