elixir-explorer/explorer

Series (one-dimensional) and dataframes (two-dimensional) for fast and elegant data exploration in Elixir

What it solves

Explorer provides fast data exploration and manipulation tools for the Elixir language, bringing the functionality of series (one-dimensional) and dataframes (two-dimensional) to the ecosystem. It aims to bridge the gap between the elegance of the dplyr API, the speed of the polars library, and the joy of Elixir.

How it works

Explorer uses pluggable backends to provide a uniform API for data manipulation. Its default backend is based on NIF bindings to the Polars library, which is written in Rust. It supports a variety of data types (including binary, boolean, category, date, datetime, and various integer/float sizes) and allows users to create dataframes from lists, memory, or files in formats like CSV, Parquet, NDJSON, and Arrow IPC. It also integrates with external databases via ADBC and file storages like S3.

Who it’s for

It is designed for Elixir developers who need to perform high-performance data manipulation and exploration, particularly those coming from the dplyr (R) or Polars (Python/Rust) ecosystems.

Highlights

  • High-performance backend: Uses Polars for blazing-fast data processing.
  • C-style typing: Supports a wide range of strictly typed series.
  • Tidy Data influence: API design is heavily influenced by dplyr and the Tidy Data philosophy.
  • Pluggable backends: Supports in-memory processing with the possibility of extension to remote databases or Spark dataframes.
  • Broad format support: Native support for CSV, Parquet, NDJSON, and Arrow IPC.

Related

  • Project
  • Project
  • Project
  • Project
  • Project