| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:063e5ef7-80c5-a12b-6a27-ad13f6c99c36 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B694:27810C:2CCD4F:3D4678:6B006A37 |
| html-safe-nonce | caf2eabe01c7cd4d5a33f9bf5e70b728235406f1e2e56e10aac2391846395d14 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjk0OjI3ODEwQzoyQ0NENEY6M0Q0Njc4OjZCMDA2QTM3IiwidmlzaXRvcl9pZCI6IjE5OTM1NjAwMDYyNTA3NTI1NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ff86c77cf8448e01a8bcd98494b95df579eb7caaa577681ae92708059c0929aa |
| hovercard-subject-tag | pull_request:5073667824 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/data-apis/array-api-extra/1072/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/aae05a5e850066178b234a2352d3853cd744fa4a7fc776cbd96cfd247bd902b0/data-apis/array-api-extra/pull/1072 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aae05a5e850066178b234a2352d3853cd744fa4a7fc776cbd96cfd247bd902b0/data-apis/array-api-extra/pull/1072 |
| og:image:alt | fixes #992
adds a function xp.replace(array, old, new) which replaces value old with value new in array. This function is helpful in sparse kernels. for example, after loading a graph matrix, one m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | willow-ahrens |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| turbo-cache-control | no-cache |
| go-import | github.com/data-apis/array-api-extra git https://github.com/data-apis/array-api-extra.git |
| octolytics-dimension-user_id | 65124399 |
| octolytics-dimension-user_login | data-apis |
| octolytics-dimension-repository_id | 860307344 |
| octolytics-dimension-repository_nwo | data-apis/array-api-extra |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 860307344 |
| octolytics-dimension-repository_network_root_nwo | data-apis/array-api-extra |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/data-apis/array-api-extra/pull/1072#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdata-apis%2Farray-api-extra%2Fpull%2F1072 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdata-apis%2Farray-api-extra%2Fpull%2F1072 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=data-apis%2Farray-api-extra |
| Reload | https://github.com/data-apis/array-api-extra/pull/1072 |
| Reload | https://github.com/data-apis/array-api-extra/pull/1072 |
| Reload | https://github.com/data-apis/array-api-extra/pull/1072 |
| data-apis | https://github.com/data-apis |
| array-api-extra | https://github.com/data-apis/array-api-extra |
| Code | https://github.com/data-apis/array-api-extra |
| Issues41 (41) | https://github.com/data-apis/array-api-extra/issues |
| Pull requests14 (14) | https://github.com/data-apis/array-api-extra/pulls |
| Discussions | https://github.com/data-apis/array-api-extra/discussions |
| Actions | https://github.com/data-apis/array-api-extra/actions |
| Security and quality | https://github.com/data-apis/array-api-extra/security |
| Insights | https://github.com/data-apis/array-api-extra/insights |
| https://github.com/data-apis/array-api-extra |
| willow-ahrens | https://github.com/willow-ahrens |
| data-apis:main | https://github.com/data-apis/array-api-extra/tree/main |
| willow-ahrens:wma/replace | https://github.com/willow-ahrens/array-api-extra/tree/wma/replace |
| Conversation | https://github.com/data-apis/array-api-extra/pull/1072 |
| Commits4 (4) | https://github.com/data-apis/array-api-extra/pull/1072/commits |
| Checks | https://github.com/data-apis/array-api-extra/pull/1072/checks |
| Files changed | https://github.com/data-apis/array-api-extra/pull/1072/files |
| ENH: add new function replace | https://github.com/data-apis/array-api-extra/pull/1072#top |
| willow-ahrens | https://github.com/willow-ahrens |
| data-apis:main | https://github.com/data-apis/array-api-extra/tree/main |
| willow-ahrens:wma/replace | https://github.com/willow-ahrens/array-api-extra/tree/wma/replace |
|
| https://github.com/willow-ahrens |
| willow-ahrens | https://github.com/willow-ahrens |
| Oct 29, 2026 | https://github.com/data-apis/array-api-extra/pull/1072#issue-6106289229 |
| Please reload this page | https://github.com/data-apis/array-api-extra/pull/1072 |
| #992 | https://github.com/data-apis/array-api-extra/issues/992 |
| https://github.com/SparseArrayProgrammingSuite/SparseArrayProgrammingSuite/blob/33b2949b4c0e960df8818e94406ed5bd970cc76c/src/saps/util/adjacency.py#L63 | https://github.com/SparseArrayProgrammingSuite/SparseArrayProgrammingSuite/blob/33b2949b4c0e960df8818e94406ed5bd970cc76c/src/saps/util/adjacency.py#L63 |
| https://github.com/SparseArrayProgrammingSuite/SparseArrayProgrammingSuite/blob/33b2949b4c0e960df8818e94406ed5bd970cc76c/src/saps/benchmarks/pcg.py#L1920 | https://github.com/SparseArrayProgrammingSuite/SparseArrayProgrammingSuite/blob/33b2949b4c0e960df8818e94406ed5bd970cc76c/src/saps/benchmarks/pcg.py#L1920 |
| Please reload this page | https://github.com/data-apis/array-api-extra/pull/1072 |
| https://github.com/lucascolley |
| lucascolley | https://github.com/lucascolley |
|
Nov 18, 2026
| https://github.com/data-apis/array-api-extra/pull/1072#ref-pullrequest-5517597257 |
|
Add scipy.sparse.linalg.cg benchmark
SparseArrayProgrammingSuite/SparseArrayProgrammingSuite#239
| https://github.com/SparseArrayProgrammingSuite/SparseArrayProgrammingSuite/pull/239 |
| willow-ahrens | https://github.com/willow-ahrens |
| November 18, 2026 20:51 | https://github.com/data-apis/array-api-extra/pull/1072#commits-pushed-abcd498 |
|
| https://github.com/willow-ahrens |
|
| https://github.com/lucascolley |
| first draft | https://github.com/data-apis/array-api-extra/pull/1072/commits/abcd4989612f2c7b7bd4c8e9fdef187ea8c74750 |
| abcd498 | https://github.com/data-apis/array-api-extra/pull/1072/commits/abcd4989612f2c7b7bd4c8e9fdef187ea8c74750 |
|
| https://github.com/willow-ahrens |
|
| https://github.com/lucascolley |
| replace | https://github.com/data-apis/array-api-extra/pull/1072/commits/af6ada8abfd5594bafc14954b74feca056484334 |
| af6ada8 | https://github.com/data-apis/array-api-extra/pull/1072/commits/af6ada8abfd5594bafc14954b74feca056484334 |
|
| https://github.com/lucascolley |
| clarify dtype behaviour | https://github.com/data-apis/array-api-extra/pull/1072/commits/29b5ccdaf81d728bee542b3503d642d07094b833 |
| 29b5ccd | https://github.com/data-apis/array-api-extra/pull/1072/commits/29b5ccdaf81d728bee542b3503d642d07094b833 |
|
| https://github.com/lucascolley |
| add some tests | https://github.com/data-apis/array-api-extra/pull/1072/commits/6afe7ce1e7920c4cf64d19641255592be380e427 |
| 6afe7ce | https://github.com/data-apis/array-api-extra/pull/1072/commits/6afe7ce1e7920c4cf64d19641255592be380e427 |
| https://github.com/lucascolley |
| lucascolley | https://github.com/lucascolley |
| force-pushed | https://github.com/data-apis/array-api-extra/compare/b8600dcbe6a32da42484070587c4cc3c79dbae46..6afe7ce1e7920c4cf64d19641255592be380e427 |
| b8600dc | https://github.com/data-apis/array-api-extra/commit/b8600dcbe6a32da42484070587c4cc3c79dbae46 |
| 6afe7ce | https://github.com/data-apis/array-api-extra/commit/6afe7ce1e7920c4cf64d19641255592be380e427 |
|
Compare
| https://github.com/data-apis/array-api-extra/compare/b8600dcbe6a32da42484070587c4cc3c79dbae46..6afe7ce1e7920c4cf64d19641255592be380e427 |
| November 18, 2026 20:51 | https://github.com/data-apis/array-api-extra/pull/1072#event-36577391054 |
| https://github.com/lucascolley |
| lucascolley | https://github.com/lucascolley |
|
Nov 18, 2026
| https://github.com/data-apis/array-api-extra/pull/1072#pullrequestreview-5966268485 |
|
View reviewed changes
| https://github.com/data-apis/array-api-extra/pull/1072/files/6afe7ce1e7920c4cf64d19641255592be380e427 |
| lucascolley | https://github.com/lucascolley |
| https://github.com/data-apis/array-api-extra/pull/1072#pullrequestreview-5966268485 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @willow-ahrens | https://github.com/willow-ahrens |
| Please reload this page | https://github.com/data-apis/array-api-extra/pull/1072 |
| src/array_api_extra/_manipulation.py | https://github.com/data-apis/array-api-extra/pull/1072/files/6afe7ce1e7920c4cf64d19641255592be380e427#diff-645c9e50209da8ea7a20df7d379dae613d5fa0b236ea9c6612fdd6f5ef8b84cd |
| lucascolley | https://github.com/lucascolley |
| Nov 18, 2026 | https://github.com/data-apis/array-api-extra/pull/1072#discussion_r4621777082 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/data-apis/array-api-extra/pull/1072 |
| willow-ahrens | https://github.com/willow-ahrens |
| Nov 19, 2026 | https://github.com/data-apis/array-api-extra/pull/1072#discussion_r4633848185 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/data-apis/array-api-extra/pull/1072 |
| lucascolley | https://github.com/lucascolley |
| Nov 19, 2026 | https://github.com/data-apis/array-api-extra/pull/1072#discussion_r4634135892 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/data-apis/array-api-extra/pull/1072 |
| lucascolley | https://github.com/lucascolley |
| Nov 19, 2026 | https://github.com/data-apis/array-api-extra/pull/1072#discussion_r4634171229 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/data-apis/array-api-extra/pull/1072 |
| https://github.com/lucascolley |
| lucascolley | https://github.com/lucascolley |
| Nov 18, 2026 | https://github.com/data-apis/array-api-extra/pull/1072#event-36587053259 |
| https://github.com/lucascolley |
| lucascolley | https://github.com/lucascolley |
| 0.12.1 | https://github.com/data-apis/array-api-extra/milestone/25 |
| Nov 18, 2026 | https://github.com/data-apis/array-api-extra/pull/1072#event-36587066899 |
| https://github.co/hiddenchars |
| https://github.com/data-apis/array-api-extra/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdata-apis%2Farray-api-extra%2Fpull%2F1072 |
|
| https://github.com/lucascolley |
|
lucascolley
| https://github.com/lucascolley |
|
| https://github.com/data-apis/array-api-extra/pull/1072/files/6afe7ce1e7920c4cf64d19641255592be380e427 |
| Please reload this page | https://github.com/data-apis/array-api-extra/pull/1072 |
|
0.12.1
| https://github.com/data-apis/array-api-extra/milestone/25 |
|
ENH: new function replace
| https://github.com/data-apis/array-api-extra/issues/992 |
| Please reload this page | https://github.com/data-apis/array-api-extra/pull/1072 |
|
| https://github.com/willow-ahrens |
|
| https://github.com/lucascolley |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |