Write Polars syntax, run it on Pandas and DuckDB
Comments on “Write Polars syntax, run it on Pandas and DuckDB”
Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked
Khuyen Tran at OpenTeams shows how Narwhals (v2.28) lets one function written in Polars syntax run on pandas, Polars, lazy Polars, DuckDB and, through a community plugin, DataFusion. Order-dependent operations on lazy inputs raise an error unless order_by is set, and a parametrized pytest exposed a pandas float-versus-integer mismatch. She also says Narwhals keeps Polars 1.x explode behavior on Polars 2.1, and that narwhals.stable.v2 is a stable API. Several of these claims come from the author alone, without cited sources.
Why it ranked
No. 15 of 116 with a score of 0.62. The panel rated it highest on new information (0.92) and technical depth (0.82), lowest on significance (0.48). Placed No. 15, No. 40 by score alone: the placement terms moved other stories past it.
- AI judgeJudge 2claude-haiku-5-5
- A practical tutorial on writing dataframe code once with Narwhals across pandas, Polars and DuckDB; useful to builders, well-demonstrated with tests, but a niche tooling topic of modest significance.
- AI judgeJudge 3gpt-5.6-luna
- A practical, code-rich tutorial showing how Narwhals unifies dataframe APIs across pandas, Polars, DuckDB, and plugins, with backend tests and ordering pitfalls. It is useful and well supported, though mainly relevant to the dataframe ecosystem.
Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.
Score
0.62total under rubric v2.3
- Significance0.48
- Reader interest0.68
- Audience breadth0.57
- Practical relevance0.81
- Substantiated0.77
- Technical depth0.82
- New information0.92
- Counts against: Promotional0.12
- Counts against: Overclaim0.20
Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).
| Question | Judge 1 | Judge 2 | Judge 3 | Mean | Spread | Weight | Contribution (weight times mean) |
|---|---|---|---|---|---|---|---|
| SignificanceHow much does this change what people in tech know or can do? | 0.59 | 0.30 | 0.55 | 0.48 | 0.29 | +0.24 | +0.115 |
| Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on? | 0.63 | 0.70 | 0.70 | 0.68 | 0.07 | +0.26 | +0.176 |
| Audience breadthHow many people who build technology does it concern? | 0.63 | 0.50 | 0.58 | 0.57 | 0.13 | +0.13 | +0.074 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.93 | 0.70 | 0.80 | 0.81 | 0.23 | +0.22 | +0.178 |
| SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations. | 0.90 | 0.60 | 0.82 | 0.77 | 0.30 | +0.05 | +0.039 |
| Technical depthHow technically substantive is it? | 0.99 | 0.70 | 0.76 | 0.82 | 0.29 | +0.05 | +0.041 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.89 | 0.90 | 0.97 | 0.92 | 0.08 | +0.05 | +0.046 |
| PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional. | 0.07 | 0.20 | 0.08 | 0.12 | 0.13 | −0.19 | −0.022 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.21 | 0.20 | 0.20 | 0.20 | 0.01 | −0.11 | −0.022 |
| Sum of contributions | +0.625 | ||||||
| Claim-check penalty | 0.000 | ||||||
| Total, as published | 0.625 | ||||||
Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.
The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.
<a href="https://rubric.hrih.si/editions/2026-11-24/15/"><img src="https://rubric.hrih.si/badge/2026-11-24/15.svg" alt="Ranked #15 on Rubric, 24 Nov 2026" width="245" height="28"></a>Claim check
Claim check: 2 matches source · 6 no source given. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.
Matches sourceNumber
Libraries such as scikit-learn, Plotly, Altair, and marimo already use Narwhals to accept any dataframe their users pass in.
The cited source says the same thing.
The article says “Libraries such as scikit-learn, Plotly, Altair, and marimo already use Narwhals to accept any dataframe their users pass in”
The source says “altair](https://github.com/vega/altair/) - [bokeh](https://github.com/bokeh/bokeh”
Source cited by the article: github.com/narwhals-dev/narwhals
Matches sourceGeneralization
Narwhals is a lightweight layer that lets you write dataframe code in Polars syntax and run it on many libraries such as pandas, Polars, and DuckDB.
The cited source says the same thing.
The article says “a lightweight layer that lets you write dataframe code in Polars syntax and run it on many libraries such as pandas, Polars, and DuckDB”
The source says “Extremely lightweight and extensible compatibility layer between dataframe libraries”
Source cited by the article: github.com/narwhals-dev/narwhals
No source givenCausal conclusion
Some lazy backends, like DuckDB, don't guarantee row order the way Polars LazyFrame does, so Narwhals requires an order for order-dependent operations on lazy inputs.
The article gives no link or citation for it.
The article says “Some lazy backends, like DuckDB, don't guarantee row order the way Polars LazyFrame does. So for any lazy input, Narwhals asks you to set the order”
The source says No source to compare with.
No source givenCausal conclusion
The pandas result had float sales instead of integers because pandas turns a column into floats when it contains NaN.
The article gives no link or citation for it.
The article says “This is because pandas turns the column into floats when there is NaN in the column”
The source says No source to compare with.
No source givenDate
Polars 2.0 and DuckDB 2.0 recently changed behavior that existing code relied on.
The article gives no link or citation for it.
The article says “Recently, two major libraries, Polars 2.0 and DuckDB 2.0, changed behavior that existing code relied on”
The source says No source to compare with.
No source givenVersion
In Polars 2.0, explode no longer produces a row with a null when the list is empty.
The article gives no link or citation for it.
The article says “in Polars 2.0, the explode function no longer produces a row with a null when the list is empty”
The source says No source to compare with.
No source givenVersion
With Narwhals, explode keeps the Polars 1.x behavior even on Polars 2.1.
The article gives no link or citation for it.
The article says “With Narwhals, explode keeps the Polars 1.x behavior, even on Polars 2.1”
The source says No source to compare with.
No source givenQuote
Narwhals promises never to change or remove any public function in the narwhals.stable.v2 namespace.
The article gives no link or citation for it.
The article says “Narwhals promises never to change or remove any public function in this namespace”
The source says No source to compare with.
Also covered by
No other coverage was clustered with this story.
Elsewhere
Elsewhere: HN 1 pts, not on front page
Recorded for context only, checked 24 Nov 2026, 05:47 UTC. It played no part in the ranking.