Compute comprehensive column profiles for chart planning
Table-in, table-out — composes downstream of SELECTs.
THEN STATSTHEN STATS {{ columns }}THEN STATS({{ columns }})| name | type | description |
|---|---|---|
| columns(optional) | VARCHAR | — |
| _table | TABLE | — |
Profiles numeric columns with summary statistics
SELECT
*
FROM
(
VALUES
('A', 10),
('B', 25),
('C', 7)
) AS t (name, amount) THEN STATS THEN PYTHON (
'result = pd.DataFrame({"amount_mean":[float(df.loc[df["column"] == "amount", "mean"].iloc[0])]})'
)Apply theme styling to a chart specification
Analyze query results with LLM based on a prompt
Remove duplicate rows
Add LLM-computed columns to query results
Filter query results using LLM-based semantic matching
Group by column and aggregate another
Compute comprehensive column profiles for chart planning
Table-in, table-out — composes downstream of SELECTs.
THEN STATSTHEN STATS {{ columns }}THEN STATS({{ columns }})| name | type | description |
|---|---|---|
| columns(optional) | VARCHAR | — |
| _table | TABLE | — |
Profiles numeric columns with summary statistics
SELECT
*
FROM
(
VALUES
('A', 10),
('B', 25),
('C', 7)
) AS t (name, amount) THEN STATS THEN PYTHON (
'result = pd.DataFrame({"amount_mean":[float(df.loc[df["column"] == "amount", "mean"].iloc[0])]})'
)Apply theme styling to a chart specification
Analyze query results with LLM based on a prompt
Remove duplicate rows
Add LLM-computed columns to query results
Filter query results using LLM-based semantic matching
Group by column and aggregate another