Plus poisons? SUM skips?
Predict, then watch (cell 11). Three real cells of Eurostat's municipal waste file: Austria, kg per inhabitant. The file writes 2024 as :, not available: here, NULL. The three rows are typed in as a tiny view, austria, so the query reads a table like any other.
con.sql("""
CREATE OR REPLACE VIEW austria AS
SELECT * FROM (VALUES (2022, 803), (2023, 782), (2024, NULL)) AS t(yr, kg)
""")
con.sql("""
SELECT 803 + 782 + NULL AS with_plus,
SUM(kg) AS with_sum,
AVG(kg) AS average
FROM austria
""").df()
Predict: with_plus, with_sum, and average.