Skip to content

JetBrains Research

Tables.kt

Tables.kt is a lightweight Kotlin-Multiplatform library to work with tables of any origin. It is not intended as an alternative to DataFrame library. On the contrary, you can use it together with the provided module. The aim of this library to provide an API for a various tables and row lists.

Another aim is to provide integration between different types of tables. For example load database table with Exposed and convert it to a DataFrame.

The performance could vary depending on the type of the table. For example row-based access to column-based table could be slow and vise-versa. Though in principle, the implementations could be tweaked to be very fast.

The library is intended as multiplatform. It supports JVM, JS-IR and Native targets.

Installation

Artifact:

The Maven coordinates of this project are space.kscience:tables-kt:0.4.0.

Gradle Kotlin DSL:

1
2
3
4
5
6
7
8
repositories {
    maven("https://repo.kotlin.link")
    mavenCentral()
}

dependencies {
    implementation("space.kscience:tables-kt:0.4.0")
}

Features

Modules

tables-kt-csv

Maturity: EXPERIMENTAL

tables-kt-dataframe

Maturity: PROTOTYPE

tables-kt-exposed

Maturity: EXPERIMENTAL

tables-kt-jupyter

Maturity: EXPERIMENTAL