Fix: fix p1-p3 bugs (#3)
fix(schema): Schema::fields() returns a snapshot to preserve invariants
refactor(types,column)!: store Float as 32-bit Float instead of Double
test: backfill P1/P2 coverage to 100% line coverage
Co-authored-by: Claude noreply@anthropic.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
MoonFrame
A lightweight DataFrame and tabular-data library for the MoonBit ecosystem.
MoonFrame provides column-oriented
DataFrame/Seriestypes together with CSV reading, filtering, sorting, null handling, summary statistics, and Markdown / JSON export. The goal is not to clone every pandas feature, but to give MoonBit a small, well-tested, extensible foundation for data analysis.Status
Under active development toward v0.1. The current focus is the
types/column/frame/ops/iolayering described indocs/api.md. See that document for the authoritative public-API surface.v0.1 progress:
types/core (DataError,DataType,Scalar)column/BuiltinColumn(constructors, accessors, slice /types/Field+Schema(duplicate-name detection,frame/Series+ statsframe/DataFrame+RowViewops/io/CSV / Markdown / JSONGroupBy and Join land in v0.2; NDJSON also v0.2; HTML and chart-data export in v0.3; an expression / lazy query layer in v0.4.
Layout
Each subpackage carries its sources, its
*_test.mbtblackbox tests, and itspkg.generated.mbtiinterface snapshot.Building
Dependencies
xunyoyo/NyaCSV— CSV parsermoonbitlang/x— extra standard-library utilities (@fsfor filesystem I/O)License
Apache-2.0 — see LICENSE.