René's URL Explorer Experiment


Title: ENH: add new function `replace` by willow-ahrens · Pull Request #1072 · data-apis/array-api-extra · GitHub

Open Graph Title: ENH: add new function `replace` by willow-ahrens · Pull Request #1072 · data-apis/array-api-extra

X Title: ENH: add new function `replace` by willow-ahrens · Pull Request #1072 · data-apis/array-api-extra

Description: Extra array functions built on top of the array API standard. - ENH: add new function `replace` by willow-ahrens · Pull Request #1072 · data-apis/array-api-extra

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/data-apis/array-api-extra/pull/1072

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:063e5ef7-80c5-a12b-6a27-ad13f6c99c36
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB694:27810C:2CCD4F:3D4678:6B006A37
html-safe-noncecaf2eabe01c7cd4d5a33f9bf5e70b728235406f1e2e56e10aac2391846395d14
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjk0OjI3ODEwQzoyQ0NENEY6M0Q0Njc4OjZCMDA2QTM3IiwidmlzaXRvcl9pZCI6IjE5OTM1NjAwMDYyNTA3NTI1NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacff86c77cf8448e01a8bcd98494b95df579eb7caaa577681ae92708059c0929aa
hovercard-subject-tagpull_request:5073667824
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/data-apis/array-api-extra/1072/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/aae05a5e850066178b234a2352d3853cd744fa4a7fc776cbd96cfd247bd902b0/data-apis/array-api-extra/pull/1072
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aae05a5e850066178b234a2352d3853cd744fa4a7fc776cbd96cfd247bd902b0/data-apis/array-api-extra/pull/1072
og:image:altfixes #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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewillow-ahrens
hostnamegithub.com
expected-hostnamegithub.com
None6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa
turbo-cache-controlno-cache
go-importgithub.com/data-apis/array-api-extra git https://github.com/data-apis/array-api-extra.git
octolytics-dimension-user_id65124399
octolytics-dimension-user_logindata-apis
octolytics-dimension-repository_id860307344
octolytics-dimension-repository_nwodata-apis/array-api-extra
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id860307344
octolytics-dimension-repository_network_root_nwodata-apis/array-api-extra
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/data-apis/array-api-extra/pull/1072#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdata-apis%2Farray-api-extra%2Fpull%2F1072
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdata-apis%2Farray-api-extra%2Fpull%2F1072
Sign uphttps://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
Reloadhttps://github.com/data-apis/array-api-extra/pull/1072
Reloadhttps://github.com/data-apis/array-api-extra/pull/1072
Reloadhttps://github.com/data-apis/array-api-extra/pull/1072
data-apishttps://github.com/data-apis
array-api-extrahttps://github.com/data-apis/array-api-extra
Codehttps://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
Discussionshttps://github.com/data-apis/array-api-extra/discussions
Actionshttps://github.com/data-apis/array-api-extra/actions
Security and qualityhttps://github.com/data-apis/array-api-extra/security
Insightshttps://github.com/data-apis/array-api-extra/insights
https://github.com/data-apis/array-api-extra
willow-ahrenshttps://github.com/willow-ahrens
data-apis:mainhttps://github.com/data-apis/array-api-extra/tree/main
willow-ahrens:wma/replacehttps://github.com/willow-ahrens/array-api-extra/tree/wma/replace
Conversationhttps://github.com/data-apis/array-api-extra/pull/1072
Commits4 (4)https://github.com/data-apis/array-api-extra/pull/1072/commits
Checkshttps://github.com/data-apis/array-api-extra/pull/1072/checks
Files changedhttps://github.com/data-apis/array-api-extra/pull/1072/files
ENH: add new function replacehttps://github.com/data-apis/array-api-extra/pull/1072#top
willow-ahrenshttps://github.com/willow-ahrens
data-apis:mainhttps://github.com/data-apis/array-api-extra/tree/main
willow-ahrens:wma/replacehttps://github.com/willow-ahrens/array-api-extra/tree/wma/replace
https://github.com/willow-ahrens
willow-ahrenshttps://github.com/willow-ahrens
Oct 29, 2026https://github.com/data-apis/array-api-extra/pull/1072#issue-6106289229
Please reload this pagehttps://github.com/data-apis/array-api-extra/pull/1072
#992https://github.com/data-apis/array-api-extra/issues/992
https://github.com/SparseArrayProgrammingSuite/SparseArrayProgrammingSuite/blob/33b2949b4c0e960df8818e94406ed5bd970cc76c/src/saps/util/adjacency.py#L63https://github.com/SparseArrayProgrammingSuite/SparseArrayProgrammingSuite/blob/33b2949b4c0e960df8818e94406ed5bd970cc76c/src/saps/util/adjacency.py#L63
https://github.com/SparseArrayProgrammingSuite/SparseArrayProgrammingSuite/blob/33b2949b4c0e960df8818e94406ed5bd970cc76c/src/saps/benchmarks/pcg.py#L1920https://github.com/SparseArrayProgrammingSuite/SparseArrayProgrammingSuite/blob/33b2949b4c0e960df8818e94406ed5bd970cc76c/src/saps/benchmarks/pcg.py#L1920
Please reload this pagehttps://github.com/data-apis/array-api-extra/pull/1072
https://github.com/lucascolley
lucascolleyhttps://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-ahrenshttps://github.com/willow-ahrens
November 18, 2026 20:51https://github.com/data-apis/array-api-extra/pull/1072#commits-pushed-abcd498
https://github.com/willow-ahrens
https://github.com/lucascolley
first drafthttps://github.com/data-apis/array-api-extra/pull/1072/commits/abcd4989612f2c7b7bd4c8e9fdef187ea8c74750
abcd498https://github.com/data-apis/array-api-extra/pull/1072/commits/abcd4989612f2c7b7bd4c8e9fdef187ea8c74750
https://github.com/willow-ahrens
https://github.com/lucascolley
replacehttps://github.com/data-apis/array-api-extra/pull/1072/commits/af6ada8abfd5594bafc14954b74feca056484334
af6ada8https://github.com/data-apis/array-api-extra/pull/1072/commits/af6ada8abfd5594bafc14954b74feca056484334
https://github.com/lucascolley
clarify dtype behaviourhttps://github.com/data-apis/array-api-extra/pull/1072/commits/29b5ccdaf81d728bee542b3503d642d07094b833
29b5ccdhttps://github.com/data-apis/array-api-extra/pull/1072/commits/29b5ccdaf81d728bee542b3503d642d07094b833
https://github.com/lucascolley
add some testshttps://github.com/data-apis/array-api-extra/pull/1072/commits/6afe7ce1e7920c4cf64d19641255592be380e427
6afe7cehttps://github.com/data-apis/array-api-extra/pull/1072/commits/6afe7ce1e7920c4cf64d19641255592be380e427
https://github.com/lucascolley
lucascolleyhttps://github.com/lucascolley
force-pushedhttps://github.com/data-apis/array-api-extra/compare/b8600dcbe6a32da42484070587c4cc3c79dbae46..6afe7ce1e7920c4cf64d19641255592be380e427
b8600dchttps://github.com/data-apis/array-api-extra/commit/b8600dcbe6a32da42484070587c4cc3c79dbae46
6afe7cehttps://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:51https://github.com/data-apis/array-api-extra/pull/1072#event-36577391054
https://github.com/lucascolley
lucascolleyhttps://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
lucascolleyhttps://github.com/lucascolley
https://github.com/data-apis/array-api-extra/pull/1072#pullrequestreview-5966268485
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@willow-ahrenshttps://github.com/willow-ahrens
Please reload this pagehttps://github.com/data-apis/array-api-extra/pull/1072
src/array_api_extra/_manipulation.pyhttps://github.com/data-apis/array-api-extra/pull/1072/files/6afe7ce1e7920c4cf64d19641255592be380e427#diff-645c9e50209da8ea7a20df7d379dae613d5fa0b236ea9c6612fdd6f5ef8b84cd
lucascolleyhttps://github.com/lucascolley
Nov 18, 2026https://github.com/data-apis/array-api-extra/pull/1072#discussion_r4621777082
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/data-apis/array-api-extra/pull/1072
willow-ahrenshttps://github.com/willow-ahrens
Nov 19, 2026https://github.com/data-apis/array-api-extra/pull/1072#discussion_r4633848185
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/data-apis/array-api-extra/pull/1072
lucascolleyhttps://github.com/lucascolley
Nov 19, 2026https://github.com/data-apis/array-api-extra/pull/1072#discussion_r4634135892
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/data-apis/array-api-extra/pull/1072
lucascolleyhttps://github.com/lucascolley
Nov 19, 2026https://github.com/data-apis/array-api-extra/pull/1072#discussion_r4634171229
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/data-apis/array-api-extra/pull/1072
https://github.com/lucascolley
lucascolleyhttps://github.com/lucascolley
Nov 18, 2026https://github.com/data-apis/array-api-extra/pull/1072#event-36587053259
https://github.com/lucascolley
lucascolleyhttps://github.com/lucascolley
0.12.1https://github.com/data-apis/array-api-extra/milestone/25
Nov 18, 2026https://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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 pagehttps://github.com/data-apis/array-api-extra/pull/1072
https://github.com/willow-ahrens
https://github.com/lucascolley
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.