René's URL Explorer Experiment


Title: Map values according to a dict by eriknw · Pull Request #257 · python-graphblas/python-graphblas · GitHub

Open Graph Title: Map values according to a dict by eriknw · Pull Request #257 · python-graphblas/python-graphblas

X Title: Map values according to a dict by eriknw · Pull Request #257 · python-graphblas/python-graphblas

Description: Closes #246. A.apply({1: 10, 2: 20}, 999) Heh, I know this isn't high priority (at all!), but it is oh-so-fun and was quick to do. I think the function we jit with numba is pretty competitive. I doubt this handles UDTs, and we could probably be a bit smarter with dtypes in general.

Open Graph Description: Closes #246. A.apply({1: 10, 2: 20}, 999) Heh, I know this isn't high priority (at all!), but it is oh-so-fun and was quick to do. I think the function we jit with numba is pretty competitive....

X Description: Closes #246. A.apply({1: 10, 2: 20}, 999) Heh, I know this isn't high priority (at all!), but it is oh-so-fun and was quick to do. I think the function we jit with numba is pretty competit...

Opengraph URL: https://github.com/python-graphblas/python-graphblas/pull/257

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a01ab5eb-d916-f597-20c6-4e572e5aee21
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id97F0:15E137:31B735:423DEF:698E55D9
html-safe-noncea3b73556657bc72fe5dcd166a99e7a6330a5d13cdaf95eb1645b0044119a8e9f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0YwOjE1RTEzNzozMUI3MzU6NDIzREVGOjY5OEU1NUQ5IiwidmlzaXRvcl9pZCI6IjMyMzM5MzYwOTg3NzA5NjU5NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc35019a8e1a21ebafa9b7327b65c46b24952d6469c8b76bdd96783b4822aea08
hovercard-subject-tagpull_request:958079031
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-graphblas/python-graphblas/pull/257/files
twitter:imagehttps://avatars.githubusercontent.com/u/2058401?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2058401?s=400&v=4
og:image:altCloses #246. A.apply({1: 10, 2: 20}, 999) Heh, I know this isn't high priority (at all!), but it is oh-so-fun and was quick to do. I think the function we jit with numba is pretty competitive....
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e08b85f0035d49bc4c22868f70a4d30fb8c2a777936895c37e78df095242ddc
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-graphblas/python-graphblas git https://github.com/python-graphblas/python-graphblas.git
octolytics-dimension-user_id103965858
octolytics-dimension-user_loginpython-graphblas
octolytics-dimension-repository_id221014819
octolytics-dimension-repository_nwopython-graphblas/python-graphblas
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id221014819
octolytics-dimension-repository_network_root_nwopython-graphblas/python-graphblas
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9416d07f3607b074b276ccc81546278f89608a08
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-graphblas%2Fpython-graphblas%2Fpull%2F257%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-graphblas%2Fpython-graphblas%2Fpull%2F257%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-graphblas%2Fpython-graphblas
Reloadhttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files
Reloadhttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files
Reloadhttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files
python-graphblas https://patch-diff.githubusercontent.com/python-graphblas
python-graphblashttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-graphblas%2Fpython-graphblas
Fork 16 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-graphblas%2Fpython-graphblas
Star 152 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-graphblas%2Fpython-graphblas
Code https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas
Issues 55 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/issues
Pull requests 14 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pulls
Discussions https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/discussions
Actions https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/actions
Projects 0 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/projects
Wiki https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/wiki
Security 0 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/security
Insights https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pulse
Code https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas
Issues https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/issues
Pull requests https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pulls
Discussions https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/discussions
Actions https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/actions
Projects https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/projects
Wiki https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/wiki
Security https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/security
Insights https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython-graphblas%2Fpython-graphblas%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython-graphblas%2Fpython-graphblas%2Fissues%2Fnew%2Fchoose
eriknwhttps://patch-diff.githubusercontent.com/eriknw
python-graphblas:mainhttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/tree/main
eriknw:apply_dicthttps://patch-diff.githubusercontent.com/eriknw/grblas/tree/apply_dict
Conversation 4 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257
Commits 6 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/commits
Checks 0 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/checks
Files changed https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files
Map values according to a dict https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#top
Show all changes 6 commits https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files
a967244 Apply with a dict! eriknw Jun 4, 2022 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/commits/a967244b7c16599e4c435cc5f7278e7771cc0799
89699a4 Better eriknw Jun 4, 2022 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/commits/89699a4392ace5824e54708f7af6bd53f142f469
c2b3104 More tests eriknw Jun 4, 2022 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/commits/c2b31048e1addfa29db41281b6cf46bd1cc04646
a717d70 Merge branch 'main' into apply_dict eriknw Oct 19, 2022 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/commits/a717d708316f6bf334e4973ddaa5cb575db6b932
a737e51 Merge branch 'main' into apply_dict eriknw Jan 28, 2023 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/commits/a737e510ee331a6d34e7bae6cad8d8589b0f8f52
b703d61 Merge branch 'main' into apply_dict eriknw Feb 22, 2023 https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/commits/b703d619bcadc824c4c40c05838edbf6d2f3ccf8
Clear filters https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files
matrix.py https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-030428fe7505f6ad25207ca3e12b2fdc197af1dd4cf219ca6e743712a3f6340e
operator.py https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-51acf87aa7780237c6b1c36931b6ba1627dea91d6d93b5e9bdec48f4ad292f4c
vector.py https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-c606dd9fd14ce3d0f2603cc205fbef11e663363974556e6d87c101f4f8104255
test_matrix.py https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-fa7de9cba464187bb0b3b5ab28b9ee42b6ab5ec15fad4444b257d37ad4081b2b
test_vector.py https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-4a2e835022a23ca4eb4a5a19d62f73b2fdf03b8507bdc22d5917cfa8080f6d45
graphblas/core/matrix.pyhttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-030428fe7505f6ad25207ca3e12b2fdc197af1dd4cf219ca6e743712a3f6340e
View file https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/blob/b703d619bcadc824c4c40c05838edbf6d2f3ccf8/graphblas/core/matrix.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-030428fe7505f6ad25207ca3e12b2fdc197af1dd4cf219ca6e743712a3f6340e
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-030428fe7505f6ad25207ca3e12b2fdc197af1dd4cf219ca6e743712a3f6340e
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-030428fe7505f6ad25207ca3e12b2fdc197af1dd4cf219ca6e743712a3f6340e
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-030428fe7505f6ad25207ca3e12b2fdc197af1dd4cf219ca6e743712a3f6340e
graphblas/core/operator.pyhttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-51acf87aa7780237c6b1c36931b6ba1627dea91d6d93b5e9bdec48f4ad292f4c
View file https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/blob/b703d619bcadc824c4c40c05838edbf6d2f3ccf8/graphblas/core/operator.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-51acf87aa7780237c6b1c36931b6ba1627dea91d6d93b5e9bdec48f4ad292f4c
graphblas/core/vector.pyhttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-c606dd9fd14ce3d0f2603cc205fbef11e663363974556e6d87c101f4f8104255
View file https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/blob/b703d619bcadc824c4c40c05838edbf6d2f3ccf8/graphblas/core/vector.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-c606dd9fd14ce3d0f2603cc205fbef11e663363974556e6d87c101f4f8104255
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-c606dd9fd14ce3d0f2603cc205fbef11e663363974556e6d87c101f4f8104255
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-c606dd9fd14ce3d0f2603cc205fbef11e663363974556e6d87c101f4f8104255
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-c606dd9fd14ce3d0f2603cc205fbef11e663363974556e6d87c101f4f8104255
graphblas/tests/test_matrix.pyhttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-fa7de9cba464187bb0b3b5ab28b9ee42b6ab5ec15fad4444b257d37ad4081b2b
View file https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/blob/b703d619bcadc824c4c40c05838edbf6d2f3ccf8/graphblas/tests/test_matrix.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-fa7de9cba464187bb0b3b5ab28b9ee42b6ab5ec15fad4444b257d37ad4081b2b
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-fa7de9cba464187bb0b3b5ab28b9ee42b6ab5ec15fad4444b257d37ad4081b2b
graphblas/tests/test_vector.pyhttps://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-4a2e835022a23ca4eb4a5a19d62f73b2fdf03b8507bdc22d5917cfa8080f6d45
View file https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/blob/b703d619bcadc824c4c40c05838edbf6d2f3ccf8/graphblas/tests/test_vector.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-4a2e835022a23ca4eb4a5a19d62f73b2fdf03b8507bdc22d5917cfa8080f6d45
https://patch-diff.githubusercontent.com/python-graphblas/python-graphblas/pull/257/files#diff-4a2e835022a23ca4eb4a5a19d62f73b2fdf03b8507bdc22d5917cfa8080f6d45
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.