Skip to content
pubscout

dartframe

0.9.1, released 6 weeks ago by an unverified publisher

A data manipulation and analysis library inspired by Pandas and NumPy for Dart and Flutter.

WASM-readyUnverified publisher
$ flutter pub add dartframe
Source repository

What it does

DartFrame provides DataFrame, Series, and NDArray structures for handling structured tabular data. It enables filtering, transforming, statistical analysis, and reading or writing multiple file formats like CSV, JSON, Excel, and HDF5.

AI-written summary of version 0.9.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to manipulate and analyze tabular data inside your Dart or Flutter application.
  • You require reading and writing formats like CSV, Excel, or HDF5 without FFI dependencies.
  • You want rolling window statistics, missing data handling, and grouping operations.

Skip it when

  • You are processing massive big data datasets that require distributed computing clusters.
  • You are looking for UI data grid widgets to display tables visually in Flutter.

Strengths

  • Supports multiple formats including CSV, Excel, HDF5, and MATLAB MAT-files with pure Dart implementations.
  • Provides advanced statistical methods, pivot tables, melt operations, and missing data interpolation.
  • Cross-platform compatibility across Android, iOS, Web, Windows, macOS, and Linux.

Weaknesses

  • Optimized for small to medium-sized datasets rather than massive big data processing.
  • Direct database connectivity requires importing a separate entrypoint (`package:dartframe/database.dart`) for platform safety.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
10
import 'package:dartframe/dartframe.dart';

final df = DataFrame.fromMap({
  'name': ['Alice', 'Bob', 'Charlie'],
  'age': [25, 30, 35],
  'city': ['New York', 'London', 'Paris']
});

print(df.head());
print(df.describe());

Alternatives

Packages that do the same job and could replace dartframe.

Works with

Packages commonly used together with dartframe: ones it builds on, ones built on it, and its own family.