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.
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.
- json_schema
Validate JSON data against JSON Schema drafts in Dart.
63Compare - gql
Parse, transform and print GraphQL documents in Dart.
76Compare - conduit_codable
A library for encoding and decoding dynamic structured data like JSON and YAML into Dart objects.
66Compare - comprehensive_utils
A collection of performance-oriented tools, widgets, stream helpers, and numeric types.
63Compare
Works with
Packages commonly used together with dartframe: ones it builds on, ones built on it, and its own family.
- archivedartframe depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- webdartframe depends on itLightweight bindings for browser APIs via JS interop
- intldartframe depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- sqlite3dartframe depends on itLightweight and convenient SQLite bindings for Dart using dart:ffi
- postgresdartframe depends on itPostgreSQL driver for Dart supporting binary protocol, pooling and statement reuse.
- excel_plusdartframe depends on itFast, low-memory library for reading, creating, editing, and styling Excel files.
- csv_plusdartframe depends on itFast, zero-dependency CSV parser, encoder, streamer, and query engine for Dart.
- mysql_client_plusdartframe depends on itNative MySQL client written in Dart with connection pooling, transactions, and TLS support.