Snowpark, Snowflake Data Cloud, Advertising, Causal Inference.
'@lib_stg/lib3rdparty/causallib-0.9.1-py3-none-any.whl','@model_stg/test_model.joblib'), session=snf_session) def predict(ds: T.PandasSeries[dict]) -> T.PandasSeries[float]: df = pd.io.json.json_normalize(ds)[input_cols] return model.predict_proba(df)[:,1] As a last step, using the Python UDF we