Rows AI Analyst by Rows/Data & analytics
Every result shows the code behind it
When the AI in Rows calculates a forecast, the result table has a small "Source: Python" tag. Click it and you see the code the AI wrote to get those numbers.

About Rows AI Analyst. Rows is a spreadsheet with built-in integrations and an AI Analyst that builds tables and analyses from your questions.
What to notice
- 1
Question, code and result belong together
Your request, the code the AI wrote and the result are shown as one chain.
- 2
A small tag on the result
"Source: Python" sits quietly on the table until you need it.
- 3
It's clear the AI wrote it
"No code written by you" tells you this logic came from the AI.
Why it works
A forecast is only as good as its method
Showing the code lets analysts check how the numbers were made.
Two kinds of users, one screen
Business users read the table, analysts open the code. Nobody is stuck.
You can run it again
Code can be rerun and changed. A number copied from a chat can't.
Use it in your product
Do this
- Keep the method, like code, a query or a formula, attached to every number the AI calculates.
- Put it behind a small tag, not in the main view.
- Mark logic the AI wrote as written by AI.
- Let experts change the method and recalculate.
Watch out
- Code people can't run or change is just decoration.
- If the code shown isn't what actually ran, trust collapses. Show the version that ran.
Join the aidesign.gallery list
For new patterns, guides and the book we are writing. It is free.
Related patterns
Hex/Data & analytics
Show the data behind the answer
Ask Hex's agent a data question and it shows each step it took: which projects it found, which fields it searched and which of them your data team has approved. Click any field to see what it means.
NotebookLM/Research
Citations that open the exact passage
Every answer in NotebookLM has small numbered citations. Hover one to read the quote, click it to jump straight to that passage in your source. Checking a fact takes seconds.
Elicit/Research
Every decision comes with its evidence
When Elicit suggests including a study in a review, it splits the decision into criteria. Click any criterion and you see the exact quotes from the paper that led to it.
