# javascriptdata/danfojs

Danfo.js is an open source, JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.

Repository: https://github.com/javascriptdata/danfojs
Canonical: https://ross.abutalabs.com/products/danfojs
Homepage: https://danfo.jsdata.org/
Language: TypeScript
License: MIT
License Family: permissive
Topics: data-analytics, data-science, pandas, data-manipulation, tensors, dataframe, javascript, data-analysis, danfojs, stream-data, stream-processing, tensorflow, table, plotting-charts
Last push: 2026-04-15T03:16:31+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 77, release rhythm 8, longevity 100
- inputs: {"age_days": 2303, "days_push": 140, "days_rel": 517, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5056, forks 222 (observed 2026-08-28T04:09:09.148324+00:00)

## What it is
Danfo.js is a JavaScript library providing high-performance, intuitive data structures (Series and DataFrame) for manipulating and processing structured data, heavily inspired by and API-compatible with Python's pandas. It integrates with TensorFlow.js tensors and supports browser and Node.js environments.

## Use cases
- manipulate tabular data in javascript like pandas
- clean and transform csv data in nodejs
- convert  arrays into dataframes for analysis
- groupby and aggregate datasets in the browser
- convert dataframes to tensorflow.js tensors for machine learning
- merge and join datasets in javascript
- handle missing NaN values in javascript data analysis

## When to choose
- you need pandas-like dataframes in JavaScript or TypeScript
- you are building browser-based or Node.js data analysis pipelines
- you want to feed tabular data into TensorFlow.js models
- your team knows pandas and wants a similar API in JS

## When to avoid
- you work primarily in Python where pandas is more mature
- you need very large datasets beyond memory where Spark/DuckDB fit better
- you need advanced statistical or plotting features available in pandas ecosystem

## Facets
- artifact type: library
- maturity: active
- function: data-science, etl, data-visualization, streaming
- domain: data-science, analytics, data-visualization
- platform: browser, cross-platform
- tags: dataframe, pandas-like, tensorflowjs, typescript, data-manipulation, groupby, tabular-data, data-engineering, nodejs, javascript

## Member repositories
- javascriptdata/danfojs (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:09.148324+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:19.734521+00:00, confidence not recorded.
  - readme: https://github.com/javascriptdata/danfojs (fetched 2026-08-28T04:09:09.148324+00:00, sha 884963f53770)
- Data as of 2026-08-30T08:39:29.467469+00:00.
