package talon

  1. Overview
  2. Docs
A dataframe library for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

raven-1.0.0.alpha1.tbz
sha256=8e277ed56615d388bc69c4333e43d1acd112b5f2d5d352e2453aef223ff59867
sha512=369eda6df6b84b08f92c8957954d107058fb8d3d8374082e074b56f3a139351b3ae6e3a99f2d4a4a2930dd950fd609593467e502368a13ad6217b571382da28c

doc/talon.json/Talon_json/index.html

Module Talon_jsonSource

JSON I/O operations for Talon dataframes

Sourceval to_string : ?orient:[ `Records | `Columns ] -> Talon.t -> string

to_string ?orient df converts to JSON string.

  • orient: `Records for row-oriented, `Columns for column-oriented (default `Records)

Null values are represented as JSON null.

Sourceval from_string : ?orient:[ `Records | `Columns ] -> string -> Talon.t

from_string ?orient json creates from JSON string. JSON null values become None/NaN appropriately.

Sourceval to_file : ?orient:[ `Records | `Columns ] -> Talon.t -> string -> unit

to_file ?orient df file writes dataframe to JSON file.

Sourceval from_file : ?orient:[ `Records | `Columns ] -> string -> Talon.t

from_file ?orient file reads dataframe from JSON file.