@hackage / dataframe-expr-serializer

Serialize and deserialize dataframe expressions and pipelines.

Latest1.1.0.0

About

Metadata

  • Last updated , by mchav
  • License MIT
  • Maintained by: mschavinda@gmail.com

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.12.2
  2. 9.10.3
  3. 9.8.4
  4. 9.6.7
  5. 9.4.8

Readme

Save fitted Expr values and whole pipelines (ordered [NamedExpr]) to a portable JSON form and reload them for inference — in another Haskell process or from Python, sharing one wire format.

DataFrame.Expr.Serialize is the format-agnostic public API (expression and pipeline encodedecode plus filebytes save-load helpers). DataFrame.IR.ExprJson is the low-level JSON wire codec — the cross-language contract the Python bindings decode against.

Depends only on dataframe-core and dataframe-operations (both pure), so a saved model can be loaded without the CSVParquetArrow stack.