Skip to content

Analysis

The Python Data Stack Rebuilt Its Foundations While You Were Shipping

For people

By glitchdata Team 5 min read

Share X LinkedIn Reddit Bluesky Email

💡 Key Takeaways

  • pandas 3.0 turned copy-on-write on permanently: SettingWithCopyWarning is gone, and so is the behaviour it was warning you about.
  • Strings now infer to an Arrow-backed dtype when PyArrow is installed, which is where the five-to-tenfold speedups in string operations come from.
  • Free-threaded Python is supported now, but importing one C extension without Py_mod_gil silently switches the GIL back on — no error, no warning, no speedup.

Two changes landed in the Python data stack within a few months of each other, and between them they alter things that have been true for roughly fifteen years. Neither got the attention of a model release. Both will cost somebody a confusing afternoon.

pandas 3.0: Copy-on-Write Is Not Optional Any More

pandas 3.0 arrived on 21 January 2026, and the headline is one sentence: copy-on-write is enabled by default and cannot be turned off.

In practice this means every indexing operation and every method returning a DataFrame or Series behaves as though it returned a copy. pandas still uses views internally where it can — a real copy is only made when something tries to modify shared data — so this is a semantic guarantee rather than a memory cost.

The consequence people will meet first is that SettingWithCopyWarning is gone. This sounds like good news and is mostly good news, but read it carefully: the warning is gone because the behaviour it was warning about is gone. Chained assignment no longer sometimes writes through to the original frame. It now reliably does not. Any code that was quietly depending on the old behaviour — and that is a lot of code, because the old behaviour was undefined enough that people tested until it worked — now silently fails to update anything.

That is the migration. Not the exceptions; the assignments that stop happening.

The second change is strings. In 3.0 a column of text infers to a dedicated str dtype, backed by Apache Arrow where PyArrow is installed. This is where the performance claims come from: string operations like .str.contains() and .str.lower() run five to ten times faster against the Arrow backend, and memory drops substantially, because Arrow uses a compact binary layout rather than a NumPy array of pointers to individual Python string objects.

For most analytical work with text columns — which is most analytical work — that is the largest free speedup pandas has shipped in years. pandas 3.0 requires Python 3.11 or later.

If you want the fundamentals rather than the changelog, our pandas essentials guide covers the shape of the library, and pandas vs Polars vs DuckDB is the honest comparison of when to reach for something else.

Free-Threaded Python Is Real, And Has A Trap

The other change is older and slower-burning. Python 3.14 shipped a free-threaded build that the Steering Council, through PEP 779, moved from "experimental" to supported. That word is doing real work: it means the no-GIL variant is a thing you can deploy rather than a thing you can benchmark.

The number that made it viable is the single-threaded overhead, which fell from roughly 40% in the first attempts to 5–10%, largely by re-enabling the specialising adaptive interpreter for free-threaded mode. A 40% tax on every single-threaded program was never going to be accepted. Five per cent is arguable.

Now the trap, and it is a good one.

Importing a C extension that does not declare Py_mod_gil support silently re-enables the GIL. Not an error. Not a warning you will see in a notebook. The interpreter decides it cannot safely run free-threaded, switches the lock back on, and carries on. You can run the free-threaded build, import one unported package somewhere in a dependency tree forty deep, and receive exactly none of the benefit, with nothing in the output to tell you.

So "are we running free-threaded?" is a question to answer empirically at runtime, not by checking which interpreter you installed.

Library support has been arriving steadily rather than suddenly — NumPy from 2.1, with 2.3 improving matters further, and pandas since 2.2.3 — but a data stack is a long tail of extensions, and the tail is where this will bite.

The Unfashionable Advice

Both of these are worth adopting, and neither is urgent.

For pandas 3.0, the useful move is not to read the migration guide; it is to grep for chained assignment and test the paths that do it, because that is where the silence is. Pin the version, upgrade a service at a time, and watch for updates that stop updating.

For free-threading, start with the question of whether you are GIL-bound at all. A great deal of data work is bound by IO or by memory bandwidth, and free-threading does nothing for either. Where it genuinely helps is parallelism inside one process over shared memory — serving several models from one copy of the weights, fanning out feature computation without paying to pickle a dataframe into each worker. If multiprocessing is already fine for your workload, free-threading is a change with no payoff attached.

Neither of these is a new idea arriving. They are old compromises finally being paid off, which is why both are so easy to miss and so annoying to meet by accident.

Where to check this yourself: the pandas 3.0 release notes and PEP 779 are the primary sources, and both are shorter than the commentary about them.

More news

Analysis 5 min read For people

Iceberg Won the Format War. The Catalogue Is the Next One.

Iceberg v3 went generally available across the major platforms this year, and the features that used to distinguish Delta now work across both. The interesting question stopped being which format your tables are in and became which service decides where they are.

News 2 min read For people

Sierra and Meta Propose a Standard for Your Agent Talking to Their Business

The Personal Agent Protocol, announced on 6 October, describes how a customer's AI agent finds a business, signs in with the customer's permission and gets a task done. It is a v0.1 draft, and several of the largest model vendors are not among its backers.

Analysis 5 min read For people

The AI Act Deadline Moved. The Work Did Not.

The Digital Omnibus landed six days before the EU AI Act's high-risk deadline and pushed it to December 2027. Almost everything else stayed where it was — including the transparency rules that most teams had not read, and a registration requirement the co-legislators refused to drop.

News 2 min read For people

Wikimedia Says OpenAI's Agents May Have Helped Knock Over Wikidata

The Wikimedia Foundation reported millions of automated requests, sandbox edits and a failed attempt on a community tool from OpenAI-operated agents, and named them as a possible cause of May's Wikidata Query Service outage.

Discussion 0

Use @handle to bring somebody in, and #tag to file it.

Nothing here yet. Ask a question, or say how you used it.

Sign in to join the discussion. Sign in