mt-caret/polars-ocaml

OCaml

56

123 commits

updated Aug 22, 2024

See the code

README

polars-ocaml

πŸ»β€β„οΈβ€οΈπŸ«

polars-ocaml is a project to provide idiomatic OCaml bindings to the Polars dataframe library.

Check out the ported examples from the Polars user guide for a quick tour of what you can do with polars-ocaml!

Install with opam install polars.

project status

build

Currently very much WIP. Please expect breakages and large changes in API.

Note that the current code assumes that the OCaml version is 4.14.1; see HACKING.md for notes on how to build polars-ocaml.

docs

odoc-generated docs are available here.

utop

polars-ocaml works in utop!

$ dune utop --profile utop1

polars-ocaml running in utop

jupyter notebook

polars-ocaml works in Jupyter notebooks, using akabe/ocaml-jupyter!

Just install the polars opam package alongside the jupyter package:

$ pip install jupyter
$ opam install jupyter polars
$ ocaml-jupyter-opam-genspec
$ jupyter kernelspec install --user --name "ocaml-jupyter-$(opam var switch)" "$(opam var share)/jupyter"

polars-ocaml running in jupyter

license

This project is licensed under the terms of the MIT license, with the exception of the following files:

Footnotes

  1. The special profile is a workaround for a known limitation in a library we use). ↩

Contributors

mt-caret

110 commits

somilgo

5 commits

skarupke

2 commits

mt-caret/polars-ocaml

OCaml

56

123 commits

updated Aug 22, 2024

See the code

README

polars-ocaml

πŸ»β€β„οΈβ€οΈπŸ«

polars-ocaml is a project to provide idiomatic OCaml bindings to the Polars dataframe library.

Check out the ported examples from the Polars user guide for a quick tour of what you can do with polars-ocaml!

Install with opam install polars.

project status

build

Currently very much WIP. Please expect breakages and large changes in API.

Note that the current code assumes that the OCaml version is 4.14.1; see HACKING.md for notes on how to build polars-ocaml.

docs

odoc-generated docs are available here.

utop

polars-ocaml works in utop!

$ dune utop --profile utop1

polars-ocaml running in utop

jupyter notebook

polars-ocaml works in Jupyter notebooks, using akabe/ocaml-jupyter!

Just install the polars opam package alongside the jupyter package:

$ pip install jupyter
$ opam install jupyter polars
$ ocaml-jupyter-opam-genspec
$ jupyter kernelspec install --user --name "ocaml-jupyter-$(opam var switch)" "$(opam var share)/jupyter"

polars-ocaml running in jupyter

license

This project is licensed under the terms of the MIT license, with the exception of the following files:

Footnotes

  1. The special profile is a workaround for a known limitation in a library we use). ↩

Contributors

mt-caret

110 commits

somilgo

5 commits

skarupke

2 commits

Languages

OCaml

63.0%

Rust

36.4%