Explain it in 60 seconds
Python models in dbt
Data Engineering · dbt · Intermediate
What are Python models in dbt and when would you use them?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Python models define a function model(dbt, session) that returns a DataFrame.
- They run on platforms like Snowflake (Snowpark), Databricks and BigQuery (Dataproc or serverless Spark).
- Good for logic that is hard in SQL, like ML scoring or complex parsing.
- They are slower to start and harder to review than SQL.
- They still use dbt.ref() and appear in lineage.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.