{"id":25806029,"url":"https://github.com/alipsa/matrix","last_synced_at":"2026-04-02T12:31:07.963Z","repository":{"id":160298685,"uuid":"607710341","full_name":"Alipsa/matrix","owner":"Alipsa","description":"Groovy library for working with tabular data.","archived":false,"fork":false,"pushed_at":"2026-04-01T22:35:38.000Z","size":186437,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-02T09:16:44.553Z","etag":null,"topics":["analytics","data-science","groovy","tables"],"latest_commit_sha":null,"homepage":"","language":"Groovy","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/Alipsa.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2023-02-28T14:24:44.000Z","updated_at":"2026-04-01T22:35:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5b59930-f671-4e89-8891-eccb61a76c4a","html_url":"https://github.com/Alipsa/matrix","commit_stats":null,"previous_names":[],"tags_count":110,"template":false,"template_full_name":null,"purl":"pkg:github/Alipsa/matrix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alipsa%2Fmatrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alipsa%2Fmatrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alipsa%2Fmatrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alipsa%2Fmatrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alipsa","download_url":"https://codeload.github.com/Alipsa/matrix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alipsa%2Fmatrix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31306053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T09:48:21.550Z","status":"ssl_error","status_checked_at":"2026-04-02T09:48:19.196Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["analytics","data-science","groovy","tables"],"created_at":"2025-02-27T19:52:45.989Z","updated_at":"2026-04-02T12:31:07.208Z","avatar_url":"https://github.com/Alipsa.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Matrix\nThis is a Groovy library (that also works in Java) to make it easy to work with\na matrix (tabular i.e. 2-dimensional) data. Whenever you ḧave a structure like this\nList\u003cList\u003c?\u003e\u003e (typically defined in \nGroovy like this `def myList = [ [1,2,3], [3.4, 7.12, 0.19] ]`) a Matrix or\na Grid can greatly enhance the experience of working with that data structure.\n\nThe Matrix project consist of the following modules:\n1. _[matrix-core](https://github.com/Alipsa/matrix/blob/main/matrix-core/readme.md)_ The matrix-core is the heart of the matrix project. It\n   contains the Matrix and Grid classes as well as several utility classes to\n   do basic statistics (sum, mean, median, sd, variance, counts, frequency etc.) and to\n   convert data into various shapes and formats\n   See [tests](https://github.com/Alipsa/matrix/blob/main/matrix-core/src/test/groovy/MatrixTest.groovy) for more usage examples or\n   the [javadocs](https://javadoc.io/doc/se.alipsa.groovy/matrix-core/latest/index.html) for more info.\n2. _[matrix-stats](https://github.com/Alipsa/matrix/blob/main/matrix-stats/README.md)_ The stats library contains various statistical methods and tests\n   (correlations, normalization, linear regression, t-test, etc.)\n3. _[matrix-datasets](https://github.com/Alipsa/matrix/blob/main/matrix-datasets/README.md)_ contains some common datasets used in R and Python such as mtcars, iris, diamonds, plantgrowth, toothgrowth etc.\n4. _[matrix-spreadsheet](https://github.com/Alipsa/matrix/blob/main/matrix-spreadsheet/README.md)_ provides ways to import and export between a Matrix and an Excel or OpenOffice Calc spreadsheet\n5. _[matrix-csv](https://github.com/Alipsa/matrix/blob/main/matrix-csv/README.md)_ provides a more advanced way to import and export between a Matrix and a CSV file (matrix-core has basic support\n   for doing this built in)\n6. _[matrix-json](https://github.com/Alipsa/matrix/blob/main/matrix-json/README.md)_ provides ways to import and export between a Matrix and Json \n7. _[matrix-charts](https://github.com/Alipsa/matrix/blob/main/matrix-charts/README.md)_ allows you to create charts in various formats (file, javafx) based on Matrix data.\n8. _[matrix-sql](https://github.com/Alipsa/matrix/blob/main/matrix-sql/readme.md)_ relational database interaction\n9. _[matrix-tablesaw](https://github.com/Alipsa/matrix/blob/main/matrix-tablesaw/readme.md)_ interoperability between Matrix and the [Tablesaw](https://github.com/jtablesaw/tablesaw) library\n10. _[matrix-parquet](https://github.com/Alipsa/matrix/blob/main/matrix-parquet/readme.md)_ provides ways to import and export between Matrix and [Parquet](https://parquet.apache.org/)\n11. _[matrix-bigquery](https://github.com/Alipsa/matrix/blob/main/matrix-bigquery/readme.md)_\n    provides ways to import and export between Matrix and [Google Big Query](https://cloud.google.com/bigquery).\n12. _[matrix-bom](https://github.com/Alipsa/matrix/blob/main/matrix-bom/readme.md)_ Bill of materials for simpler dependency management.\n\n## Setup\nMatrix should work with any 4.x version of groovy. Binary builds can be downloaded \nfrom the [Matrix project release page](https://github.com/Alipsa/matrix/releases) but if you use a build system that \nhandles dependencies via maven central (gradle, maven ivy etc.) you can add your dependencies from there\n. The group name is se.alipsa.matrix. \nThe version numbers of the matrix modules does not align with each other so a way to handle this in a simpler way is to \nuse the bom file.\n\nAn example for matrix-core is as follows for Gradle\n```groovy\nimplementation(platform( 'se.alipsa.matrix:matrix-bom:1.1.2'))\nimplementation('se.alipsa.matrix:matrix-core')\n```\n...or the following for maven\n```xml\n\u003cproject\u003e\n   ...\n   \u003cdependencyManagement\u003e\n      \u003cdependencies\u003e\n         \u003cdependency\u003e\n            \u003cgroupId\u003ese.alipsa.matrix\u003c/groupId\u003e\n            \u003cartifactId\u003ematrix-bom\u003c/artifactId\u003e\n            \u003cversion\u003e1.1.2\u003c/version\u003e\n            \u003ctype\u003epom\u003c/type\u003e\n            \u003cscope\u003eimport\u003c/scope\u003e\n         \u003c/dependency\u003e\n      \u003c/dependencies\u003e\n   \u003c/dependencyManagement\u003e\n   \u003cdependencies\u003e\n      \u003cdependency\u003e\n         \u003cgroupId\u003ese.alipsa.matrix\u003c/groupId\u003e\n         \u003cartifactId\u003ematrix-core\u003c/artifactId\u003e\n      \u003c/dependency\u003e\n   \u003c/dependencies\u003e\n   ...\n\u003c/project\u003e\n```\n\nThe jvm should be JDK 21 or higher.\n\nFor more information see the readme file in each subproject,\nthe test classes and the [Cookbook](cookbook/cookbook.md)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falipsa%2Fmatrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falipsa%2Fmatrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falipsa%2Fmatrix/lists"}