Skip to content

Fix add_prefix/add_suffix in pandas nightly; support explicit axis - #12414

Merged
crusaderky merged 1 commit into
dask:mainfrom
crusaderky:add_prefix
May 22, 2026
Merged

crusaderky merged 1 commit into
dask:mainfrom
crusaderky:add_prefix

Conversation

@crusaderky

Copy link
Copy Markdown
Collaborator

Out of scope: actually add support for add_prefix(axis=0) (new in Pandas 2.0)

@crusaderky

Copy link
Copy Markdown
Collaborator Author

Remaining CI failures are already present in main

@github-actions

Copy link
Copy Markdown
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

     25 files  ±  0       25 suites  ±0   6h 24m 50s ⏱️ - 10m 44s
 18 325 tests + 26   17 048 ✅ + 16   1 277 💤 + 10  0 ❌ ±0 
372 514 runs  +520  325 025 ✅ +307  47 489 💤 +213  0 ❌ ±0 

Results for commit 1921479. ± Comparison against base commit f548b45.

This pull request removes 4 and adds 30 tests. Note that renamed tests count towards both.
dask.dataframe.dask_expr.tests.test_collection ‑ test_add_prefix
dask.dataframe.dask_expr.tests.test_collection ‑ test_add_suffix
dask.dataframe.tests.test_dataframe ‑ test_add_prefix
dask.dataframe.tests.test_dataframe ‑ test_add_suffix
dask.dataframe.tests.test_dataframe ‑ test_add_prefix_add_suffix[index0]
dask.dataframe.tests.test_dataframe ‑ test_add_prefix_add_suffix[index1]
dask.dataframe.tests.test_dataframe ‑ test_add_prefix_add_suffix[index2]
dask.dataframe.tests.test_dataframe ‑ test_add_prefix_add_suffix[index3]
dask.dataframe.tests.test_dataframe ‑ test_add_prefix_add_suffix[index4]
dask.dataframe.tests.test_dataframe ‑ test_add_prefix_add_suffix_axis[0-index0]
dask.dataframe.tests.test_dataframe ‑ test_add_prefix_add_suffix_axis[0-index1]
dask.dataframe.tests.test_dataframe ‑ test_add_prefix_add_suffix_axis[0-index2]
dask.dataframe.tests.test_dataframe ‑ test_add_prefix_add_suffix_axis[0-index3]
dask.dataframe.tests.test_dataframe ‑ test_add_prefix_add_suffix_axis[0-index4]
…

@crusaderky
crusaderky merged commit 68a2671 into dask:main May 22, 2026
32 of 33 checks passed
@crusaderky
crusaderky deleted the add_prefix branch May 22, 2026 23:37
@crusaderky crusaderky mentioned this pull request Jun 5, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant