- How you use it
- You ask for it
- What it can do
- writes files · runs shell
- What's inside
The option
| Option | ASkill · v1.0.0Scan Python for pandas 3 and NumPy 2.5 breaks |
|---|---|
| How you use it | You ask for it |
| What it can do | writes files · runs shell |
| What's inside |
What this thread does
Do first: run python3 .claude/skills/ww-pandas3-scan/check.py . in your repo (install the kit below).
The problem
You have Python code on pandas 2.x or NumPy 2.x and want to know what pandas 3.0 and NumPy 2.5 can break. This lists items from the two official pages and ships a read-only scan for the ones that show up as code patterns.
pandas 3.0.0 (released January 21, 2026)
Source: pandas 3.0.0 what's new (checked 2026-10-29). The page recommends upgrading to pandas 2.3 first and fixing all warnings.
- Copy-on-Write: chained assignment stops working and
SettingWithCopyWarningis removed (section "Consistent copy/view behaviour with Copy-on-Write"). Themode.copy_on_writeoption no longer has any impact. - The
copykeyword of methods such asDataFrame.reindex(),DataFrame.astype(),DataFrame.rename()andDataFrame.merge()has no effect in 3.0. - String columns infer the
strdtype instead ofobject; code checking.dtype == objectbreaks (section "Dedicated string data type by default"). - Offset aliases
M,Q,Yand similar are removed in favour ofME,QE,YE(section "Enforced deprecation of aliases M, Q, Y, etc."). zoneinforeplacespytzas the default time zone library;pip install pandas[timezone]installs pytz (section "Time zones are now represented by standard library zoneinfo instead of pytz by default").- Datetime resolution is inferred, so converting to integers can give values 1000x smaller than before; the page says to use
as_unit()(section "Datetime/timedelta resolution inference"). The scan does not cover this. - Minimum versions: Python 3.11+ and numpy 1.26.0+.
I read only the first part of this long page; later removal entries may be missing here.
NumPy 2.5.0
Source: NumPy 2.5.0 release notes (checked 2026-10-29).
- Removed:
numpy.distutils,numpy.row_stack(usenumpy.vstack). - Deprecated:
numpy.fix(usenumpy.trunc),numpy.typename,numpy.char.chararray,numpy.ma.round_. - Compatibility note:
linalg.eigandlinalg.eigvalsnow always return complex arrays; useeighoreigvalshfor symmetric matrices.
Scan your project
Install the kit below and run python3 .claude/skills/ww-pandas3-scan/check.py .. It reads .py and .ipynb files and prints file:line, the rule and the guide link. Official step: upgrade to pandas 2.3 first and fix all warnings.
The chained-assignment rule matches any x[a][b] = v, so it also flags plain list indexing; review each hit. The scan is a line-by-line pattern match: it misses dynamic cases and can over-report. The bundled self-test only shows that its own rules fire on its own fixtures. WhatWorks has no stored lab run of this kit in a real project, so it is untested there.
Evidence
none found. The one migration write-up I fetched has no byline, so I did not count it as independent.
Limits
No project was migrated or run here. The pandas page and the NumPy notes are the only sources.
pandas 3.0 / NumPy 2.5: what could break my code?. Packaged by WhatWorks editors.
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.