{"id":29895512,"url":"https://github.com/navid-m/razor","last_synced_at":"2026-06-18T21:32:11.407Z","repository":{"id":305930419,"uuid":"1024339432","full_name":"navid-m/razor","owner":"navid-m","description":"Pandas equivalent, high-performance dataframe library","archived":false,"fork":false,"pushed_at":"2025-11-11T13:59:01.000Z","size":85,"stargazers_count":27,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-11T15:24:18.432Z","etag":null,"topics":["dataframes"],"latest_commit_sha":null,"homepage":"https://navid-m.github.io/razor/","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/navid-m.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":null,"dco":null,"cla":null}},"created_at":"2025-07-22T14:43:31.000Z","updated_at":"2025-11-11T13:59:05.000Z","dependencies_parsed_at":"2025-07-22T19:18:27.279Z","dependency_job_id":"5b0571b1-fbd5-4841-bf7b-33dac0ada892","html_url":"https://github.com/navid-m/razor","commit_stats":null,"previous_names":["navid-m/razor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/navid-m/razor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navid-m%2Frazor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navid-m%2Frazor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navid-m%2Frazor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navid-m%2Frazor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/navid-m","download_url":"https://codeload.github.com/navid-m/razor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navid-m%2Frazor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34508863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dataframes"],"created_at":"2025-08-01T07:18:14.925Z","updated_at":"2026-06-18T21:32:11.400Z","avatar_url":"https://github.com/navid-m.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Razor\n\nRazor is a feature-rich, high-performance dataframe library, inspired by Python’s pandas but leveraging Nim’s static typing and speed.\n\n## Features\n\n-  **Dataframe Creation \u0026 I/O** - `toCsv`, `readCsv`\n-  **Data Inspection** - `.head(n)`, `.describe()`, `.dtypes()`, indexing and slicing rows and columns\n-  **Data Cleaning** - `fillNa`, `dropNa`, `dropDuplicates`, `replace`, `isin`\n-  **Vectorized Operations** - `apply` and `applyRows` for custom logic\n-  **Filtering \u0026 Sorting** - Boolean masking - `loc`, `mask`, chained filtering\n-  **GroupBy \u0026 Aggregation** - `groupBy(...).mean(...)`, `sum(...)`, etc.\n-  **Reshaping** - `melt` for pivoting wide to long format\n-  **Time Series Utilities** - `dateRange`, `parse` for date handling\n\n## Example\n\n```nim\nimport razor\n\nvar df = newDataFrame()\ndf[\"name\"] = newSeries(@[\"Alice\", \"Bob\", \"Charlie\"])\ndf[\"age\"] = newSeries(@[25, 30, 35])\ndf[\"score\"] = newSeries(@[85.5, 92.0, 78.5])\n\necho df.head(2)\necho df.describe()\necho df[\"age\"].mean()\n\ndf.toCsv(\"data.csv\")\nlet df2 = readCsv(\"data.csv\")\necho df2\n```\n\nWill output:\n\n```\nDataFrame (2x3):\n             name          age        score\n   0        Alice           25         85.5\n   1          Bob           30         92.0\n\nDataFrame (8x2):\n              age        score\ncount            3            3\nmean         30.0 85.33333333333333\n std          5.0 6.751543033509697\n min           25         78.5\n 25%         27.5         82.0\n 50%         30.0         85.5\n 75%         32.5        88.75\n max           35         92.0\n\n30.0\nDataFrame (3x3):\n             name          age        score\n   0        Alice           25         85.5\n   1          Bob           30         92.0\n   2      Charlie           35         78.5\n```\n\n## Installation\n\n```bash\nnimble install razor\n```\n\n## Tests\n\nAll tests pass as of `2025-07`.\n\n## Status\n\nThe library is production-ready for most standard data manipulation tasks.\n\n## License\n\nGPL-3.0 only.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavid-m%2Frazor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavid-m%2Frazor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavid-m%2Frazor/lists"}