From faad5c38d3c6f8199ba97a76b937f5eff5252d8e Mon Sep 17 00:00:00 2001 From: Emanuele Guidotti Date: Sun, 11 Feb 2024 11:05:54 +0100 Subject: [PATCH] Update database.py --- bornrule/sql/database.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bornrule/sql/database.py b/bornrule/sql/database.py index 6b9090a..10fd16a 100644 --- a/bornrule/sql/database.py +++ b/bornrule/sql/database.py @@ -383,6 +383,8 @@ def _sql_transform(self, items, concat, name): 1.0 AS {self.w} FROM {table} + WHERE + {items[2]} IS NOT NULL """ def _sql_partial_fit(self, items, sample_weight):