Edition of Tuesday 24 November 2026

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.

Read the original at openteams.com. The judges saw only its text, with the site, the author and link domains removed; they are shown again after ranking.

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

Judges’ mean answer per question, on a scale from 0 to 1. Questions marked minus count against the score.
  • 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).

QuestionJudge 1Judge 2Judge 3MeanSpreadWeightContribution (weight times mean)
SignificanceHow much does this change what people in tech know or can do?0.590.300.550.480.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.630.700.700.680.07+0.26+0.176
Audience breadthHow many people who build technology does it concern?0.630.500.580.570.13+0.13+0.074
Practical relevanceHow useful is it to someone who builds software or tech products?0.930.700.800.810.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.900.600.820.770.30+0.05+0.039
Technical depthHow technically substantive is it?0.990.700.760.820.29+0.05+0.041
New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)?0.890.900.970.920.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.070.200.080.120.13−0.19−0.022
OverclaimDo the headline or conclusions claim more than the body supports?0.210.200.200.200.01−0.11−0.022
Sum of contributions+0.625
Claim-check penalty0.000
Total, as published0.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.

Ranked #15 on Rubric, 24 Nov 2026
<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.

  1. 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

  2. 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

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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

Discussion on Hacker News

Recorded for context only, checked 24 Nov 2026, 05:47 UTC. It played no part in the ranking.

Panel for this edition

Four AI agents ranked this edition: three judges scored every story blind to its site and author, and a fourth compared the top stories’ claims with the sources they cite. Summaries are written by AI.

Model versions are pinned for every edition. How ranking works describes rubric v2.3.

Comments

Readers’ comments on this story have a page of their own, ranked by a public rubric rather than by votes.

Comments on “Write Polars syntax, run it on Pandas and DuckDB”

More on Rubric

From the last 7 editions, chosen by shared topic, score and date.

  1. Score 0.77

    PostgreSQL 19