SQL and Python blocks include an AI assistant.
Whenever you want the AI assistant's help, you can click "edit with AI" and tell it what you want to do.
Then, the AI assistant will come up with a suggestion and show you a diff that you can try, accept, or reject.
In the Python block, the AI assistant is aware of the existing dataframes and its columns.
In the SQL block, the AI assistant already knows the tables and columns in your database, so it can give better suggestions and help you get complex queries right.
Whenever an error comes up, you can click "Fix with AI" to get the AI assistant to try to fix it for you.