Skip to content

OKFEgypt/dataframe.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Javascript-only data library providing functionality like DataFrame in Pandas or R.

Context: I built something like this before with Recline and its Dataset object. There's also the work in Miso -- who I personally think did the Dataset object a bit better. But IMO neither Recline or Miso got it quite right. It's time to look at this again for a Recline v2.

There's also a connection with Tabular Data Packages and JSON Table Schema and associated tooling such as the various Data Package javascript libraries. The tabular data in a Tabular Data Package Resource, when manipulated in javascript will need to be stored in some kind of structured javascript object and this DataFrame could be a good vehicle.

Research

Suggestions welcome: please open pull requests or issues

What is the Full Stack for Data

DataFrame only covers a part of the "data stack":

  • DataFrame object for holding "rows" of data
    • Might add a Dataset (or DataPackage) object as a way to represent an overall Dataset with metadata and possibly multiple DataFrames (plus other info)
  • DataQuery - querying data efficiently, storing and reifying queries. « not sure about this one as needed separately from e.g. DataFrame
  • Connectors - data import / export from other sources ranging from CSV to RDBMS and more. Again probably not part of DataFrame but separate libraries. This is a particular area where the connection with Tabular Data Package and JSON Table Schema is strong

There is of course lots of other stuff in the "data stack" such as the following:

  • Views / Visualization - data presentation (grids, graphs etc). Largely handled by third party libraries.
  • Validation
  • Analytics
  • ETL
  • etc

These might use DataFrame but they are not specifically in DataFrame.

Key Features

See datopian#3

Contributing

We use mocha for testing, install it as follows:

npm install -g expect.js
npm install -g mocha

Then to run tests:

mocha

About

A Javascript-only data library providing functionality like DataFrame in Pandas or R.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%