Skip to content

ENH: Adding apply_along_axis - #871

Open
prady0t wants to merge 4 commits into
data-apis:mainfrom
prady0t:add-appl
Open

ENH: Adding apply_along_axis#871
prady0t wants to merge 4 commits into
data-apis:mainfrom
prady0t:add-appl

Conversation

@prady0t

@prady0t prady0t commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Fixes: #493

Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
Comment thread tests/test_funcs.py
Comment on lines +112 to +116
@pytest.mark.xfail_xp_backend(
Backend.DASK,
reason="Dask apply_along_axis infers output shape differently",
strict=False,
)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test_simple[dask] - AssertionError: shapes do not match: (2, 1) != (2, 3)

Comment thread tests/test_funcs.py
Comment on lines +132 to +136
@pytest.mark.xfail_xp_backend(
Backend.SPARSE,
reason="Sparse cannot stack scalar arrays with different fill values",
strict=False,
)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test_scalar_output[sparse] - ValueError: This operation requires consistent fill-values, but argument 1 had a fill value of 15, which is different from a fill_value of 6 in the first argument.

prady0t added 3 commits August 2, 2026 01:23
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
@prady0t
prady0t marked this pull request as ready for review August 1, 2026 20:31
@prady0t

prady0t commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

@rgommers @paddyroddy @lucascolley The CI is green now; would love some reviews.

@lucascolley lucascolley added enhancement New feature or request new function labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENH: add apply_along_axis

2 participants