René's URL Explorer Experiment


Title: alternative methods of collecting an axis_iter to ndarray matrix · Issue #249 · rust-ndarray/ndarray · GitHub

Open Graph Title: alternative methods of collecting an axis_iter to ndarray matrix · Issue #249 · rust-ndarray/ndarray

X Title: alternative methods of collecting an axis_iter to ndarray matrix · Issue #249 · rust-ndarray/ndarray

Description: I'm working on a dataframe implementation that provides two-dimensional iterator adaptors over ndarray matrices. pub struct DataFrame { pub columns: Vec, pub data: Matrix, pub index: Vec, } The dataframe'...

Open Graph Description: I'm working on a dataframe implementation that provides two-dimensional iterator adaptors over ndarray matrices. pub struct DataFrame { pub columns: Vec, pub data: Matrix, pub...

X Description: I'm working on a dataframe implementation that provides two-dimensional iterator adaptors over ndarray matrices. pub struct DataFrame { pub columns: Vec<OuterType>, pub data: Matrix<In...

Opengraph URL: https://github.com/rust-ndarray/ndarray/issues/249

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"alternative methods of collecting an axis_iter to ndarray matrix","articleBody":"I'm working on a dataframe implementation that provides two-dimensional iterator adaptors over ndarray matrices. \r\n\r\n```\r\npub struct DataFrame {\r\n    pub columns: Vec\u003cOuterType\u003e,\r\n    pub data: Matrix\u003cInnerType\u003e,\r\n    pub index: Vec\u003cOuterType\u003e,\r\n}\r\n```\r\n\r\nThe dataframe's data are an enum over something called `InnerType`, which allows the dataframe to support a variety of types, like dataframes in other languages:\r\n\r\n```\r\npub enum InnerType {\r\n    Float(f64),\r\n    Int64(i64),\r\n    Int32(i32),\r\n    Str(String),\r\n    Empty,\r\n}\r\n```\r\n\r\nThe iterator adaptors `impl Iterator\u003cItem = (OuterType, ArrayView\u003c'a, InnerType, usize\u003e)\u003e`.\r\n\r\nNotice the `InnerType::Str(String)`. Because of this value, `InnerType` is not Copy, and I'm unable to collect the adaptors' items into a DataFrame via `stack`. Can you help me think of another way to collect the iterator adaptor into an ndarray matrix, without needing Copy, so I can support Strings in the dataframe? This problem may also affect implementing something like `FromCSV`, which would go from a CSV reader iterator to a DataFrame.\r\n\r\nIf you want to check out the project further, you can do so here: https://github.com/pegasos1/rust-dataframe","author":{"url":"https://github.com/kernelmachine","@type":"Person","name":"kernelmachine"},"datePublished":"2016-12-14T16:52:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/249/ndarray/issues/249"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c1ce87dd-b7b6-debe-425d-2cb6d48757e2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA616:3BFB17:770E2A8:9A2F039:6975AFBC
html-safe-nonceb059dd80fd09a8d53dae5d81f52e78cef72720f440acaf7b63f64be9442d5ed6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjE2OjNCRkIxNzo3NzBFMkE4OjlBMkYwMzk6Njk3NUFGQkMiLCJ2aXNpdG9yX2lkIjoiNzgzMTI0MDUwNTEwNTQyODQxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac93ac97e75bafbaa328d08bc2a73408969a5b598e960e08490a4d598826a06fb8
hovercard-subject-tagissue:195585256
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/rust-ndarray/ndarray/249/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8cdc99caf10211f85a0907dd641ad4b0670ba6643d50709ed5667a712515cbc4/rust-ndarray/ndarray/issues/249
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8cdc99caf10211f85a0907dd641ad4b0670ba6643d50709ed5667a712515cbc4/rust-ndarray/ndarray/issues/249
og:image:altI'm working on a dataframe implementation that provides two-dimensional iterator adaptors over ndarray matrices. pub struct DataFrame { pub columns: Vec, pub data: Matrix, pub...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekernelmachine
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
go-importgithub.com/rust-ndarray/ndarray git https://github.com/rust-ndarray/ndarray.git
octolytics-dimension-user_id44419403
octolytics-dimension-user_loginrust-ndarray
octolytics-dimension-repository_id22598813
octolytics-dimension-repository_nworust-ndarray/ndarray
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id22598813
octolytics-dimension-repository_network_root_nworust-ndarray/ndarray
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
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/rust-ndarray/ndarray/issues/249#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Frust-ndarray%2Fndarray%2Fissues%2F249
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%2Frust-ndarray%2Fndarray%2Fissues%2F249
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=rust-ndarray%2Fndarray
Reloadhttps://patch-diff.githubusercontent.com/rust-ndarray/ndarray/issues/249
Reloadhttps://patch-diff.githubusercontent.com/rust-ndarray/ndarray/issues/249
Reloadhttps://patch-diff.githubusercontent.com/rust-ndarray/ndarray/issues/249
rust-ndarray https://patch-diff.githubusercontent.com/rust-ndarray
ndarrayhttps://patch-diff.githubusercontent.com/rust-ndarray/ndarray
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Frust-ndarray%2Fndarray
Fork 362 https://patch-diff.githubusercontent.com/login?return_to=%2Frust-ndarray%2Fndarray
Star 4.2k https://patch-diff.githubusercontent.com/login?return_to=%2Frust-ndarray%2Fndarray
Code https://patch-diff.githubusercontent.com/rust-ndarray/ndarray
Issues 171 https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/issues
Pull requests 32 https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/pulls
Discussions https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/discussions
Actions https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/actions
Projects 0 https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/projects
Wiki https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/wiki
Security 0 https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/security
Insights https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/pulse
Code https://patch-diff.githubusercontent.com/rust-ndarray/ndarray
Issues https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/issues
Pull requests https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/pulls
Discussions https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/discussions
Actions https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/actions
Projects https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/projects
Wiki https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/wiki
Security https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/security
Insights https://patch-diff.githubusercontent.com/rust-ndarray/ndarray/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/rust-ndarray/ndarray/issues/249
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/rust-ndarray/ndarray/issues/249
alternative methods of collecting an axis_iter to ndarray matrixhttps://patch-diff.githubusercontent.com/rust-ndarray/ndarray/issues/249#top
https://github.com/kernelmachine
https://github.com/kernelmachine
kernelmachinehttps://github.com/kernelmachine
on Dec 14, 2016https://github.com/rust-ndarray/ndarray/issues/249#issue-195585256
https://github.com/pegasos1/rust-dataframehttps://github.com/pegasos1/rust-dataframe
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.