Danfo.js Overview and Features
devDanfo.js is a JavaScript data analysis toolkit inspired by Python's Pandas. It provides fast, flexible, and expressive data structures for working with relational or labeled data.
Key Features:
- TensorFlow.js Support: Convert Danfo data structures to Tensors.
- Missing Data Handling: Easy handling of
NaNin both floating and non-floating point data. - Data Manipulation: Support for column insertion/deletion,
groupbyoperations, and automatic/explicit alignment. - Indexing & Querying: Label-based slicing (
loc), fancy indexing (iloc), and querying. - IO Tools: Load data from CSV, JSON, and Excel.
- Preprocessing: Includes
OneHotEncoders,LabelEncoders, and scalers likeStandardScalerandMinMaxScaler. - Plotting: Intuitive API for interactive plotting of DataFrames and Series.
- Time Series: Specific functionality for date range generation and time properties.