{"id":23450796,"url":"https://github.com/red-data-tools/red-datasets-numo-narray","last_synced_at":"2025-07-11T20:08:01.028Z","repository":{"id":56891409,"uuid":"177364772","full_name":"red-data-tools/red-datasets-numo-narray","owner":"red-data-tools","description":"A Red Datasets plugin to export dataset as Numo::NArray object","archived":false,"fork":false,"pushed_at":"2019-03-24T03:59:43.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-14T07:21:53.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/red-data-tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-24T03:07:01.000Z","updated_at":"2019-09-12T00:48:07.000Z","dependencies_parsed_at":"2022-08-21T00:20:50.077Z","dependency_job_id":null,"html_url":"https://github.com/red-data-tools/red-datasets-numo-narray","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/red-data-tools/red-datasets-numo-narray","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Fred-datasets-numo-narray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Fred-datasets-numo-narray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Fred-datasets-numo-narray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Fred-datasets-numo-narray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/red-data-tools","download_url":"https://codeload.github.com/red-data-tools/red-datasets-numo-narray/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Fred-datasets-numo-narray/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259912830,"owners_count":22931124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-24T00:15:10.593Z","updated_at":"2025-07-11T20:08:01.004Z","avatar_url":"https://github.com/red-data-tools.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\n## Name\n\nRed Datasets Numo::NArray\n\n## Description\n\nRed Datasets Numo::NArray adds [Numo::NArray](https://github.com/ruby-numo/numo-narray) object export feature to Red Datasets.\n\nRed Datasets Numo::NArray adds `#to_narray` method to each dataset and its table in Red Datasets. You can get data as Numo::NArray's numeric subclass object.\n\n## Install\n\n```console\n% gem install red-datasets-numo-narray\n```\n\n## Usage\n\nHere is an example to export iris data as Numo::NArray's numeric subclass objects by `Datasets::Dataset#to_narray` and `Datasets::Table#to_narray`:\n\n```ruby\nrequire \"datasets-numo-narray\"\n\niris = Datasets::Iris.new\nputs iris.to_narray(:sepal_length,\n                    :sepal_width,\n                    :petal_length,\n                    :petal_width)\n\niris_table = iris.to_table\nputs iris_table.to_narray(:sepal_length,\n                          :sepal_width,\n                          :petal_length,\n                          :petal_width)\n```\n\n## License\n\nThe MIT license. See `LICENSE.txt` for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred-data-tools%2Fred-datasets-numo-narray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fred-data-tools%2Fred-datasets-numo-narray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred-data-tools%2Fred-datasets-numo-narray/lists"}