description |
---|
Danfo.js is an open-source, JavaScript library providing high-performance, intuitive, and easy-to-use data structures for manipulating and processing structured data. |
Danfo.js is heavily inspired by the Pandas library and provides a similar interface and API. This means users familiar with the Pandas API can easily use Danfo.js.
- Danfo.js is fast and supports Tensorflow.js's tensors out of the box. This means you can convert Danfo.js DataFrames to Tensors, and vice versa.
- Easy handling of missing data (represented as
NaN, undefined, or null
) in data - Size mutability: columns can be inserted/deleted from DataFrames
- Automatic and explicit alignment: objects can be explicitly aligned to a set of labels, or the user can simply ignore the labels and let
Series
,DataFrame
, etc. automatically align the data for you in computations - Powerful, flexible, groupby functionality to perform split-apply-combine operations on data sets, for both aggregating and transforming data
- Make it easy to convert Arrays, JSONs, List or Objects, Tensors, and differently-indexed data structures into DataFrame objects
- Intelligent label-based slicing, fancy indexing, and querying of large data sets
- Intuitive merging and joining data sets
- Robust IO tools for loading data from flat-files (CSV and delimited), Excel, and JSON data format.
- Powerful, flexible, and intiutive API for plotting DataFrames and Series interactively.
- Timeseries-specific functionality: date range generation and date and time properties.
- Robust data preprocessing functions like OneHotEncoders, LabelEncoders, and scalers like StandardScaler and MinMaxScaler are supported on DataFrame and Series
New to Danfo? Check out the getting started guides. It contains a quick introduction to D_anfo's_ main concepts and links to additional content.
{% content-ref url="getting-started.md" %} getting-started.md {% endcontent-ref %}
The reference guide contains a detailed description of the danfo API. The reference describes how each function works and which parameters can be used.
{% content-ref url="api-reference/" %} api-reference {% endcontent-ref %}
{% content-ref url="examples/" %} examples {% endcontent-ref %}
{% content-ref url="building-data-driven-applications-with-danfo.js-book.md" %} building-data-driven-applications-with-danfo.js-book.md {% endcontent-ref %}
Want to help improve our documentation and existing functionalities? The contributing guidelines will guide you through the process.
{% content-ref url="contributing-guide.md" %} contributing-guide.md {% endcontent-ref %}
{% content-ref url="release-notes.md" %} release-notes.md {% endcontent-ref %}