Skip to content

Adding cumulative sum and product functions.#558

Closed
Nirkan wants to merge 5 commits intoBlosc:mainfrom
Nirkan:issue-466-cumulative_sum_prod
Closed

Adding cumulative sum and product functions.#558
Nirkan wants to merge 5 commits intoBlosc:mainfrom
Nirkan:issue-466-cumulative_sum_prod

Conversation

@Nirkan
Copy link
Copy Markdown

@Nirkan Nirkan commented Jan 19, 2026

This PR addressed part of the issue Array API Compliance #466 i.e adding cumulative_sum and cumulative_prod to pass the test : array_api_tests/test_statistical_functions.py

Two functions (cumulative_sum and cumulative_prod) are added to ndarray.py and passes array_api_tests/test_statistical_functions.py

@lshaw8317
Copy link
Copy Markdown
Collaborator

Thanks for your contribution, however it would be better to use Blosc2's internal lazyexpr machinery. Please look at #514 for a roadmap to follow.
Also don't forget to add some tests please.

@lshaw8317 lshaw8317 closed this Jan 20, 2026
@Nirkan Nirkan deleted the issue-466-cumulative_sum_prod branch January 24, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants