Skip to content

Conversation

AndreiKingsley
Copy link
Collaborator

Closes #1294


## Can I work with hierarchical/nested data?

Yes, Kotlin DataFrame is designed to work with hierarchical data.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This page could be useful somewhere here: https://kotlin.github.io/dataframe/hierarchical.html

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, yeah, I wanted to, but forgot 😄.


## What data sources are supported?

<!------TODO data sources---->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will you do it in this PR or later?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

later, when #1293 and #1298 are ready

and the [Kotlin DataFrame compiler plugin](Compiler-Plugin.md),
you now have a more flexible and powerful alternative.

Annotate your Kotlin class with [`@DataSchema`](Compiler-Plugin.md#dataschema-declarations),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or alternatively call toDataFrame on list of Kotlin or Java objects, and resulting DataFrame will have schema according to their properties or getters

Copy link
Collaborator

@koperagen koperagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice set of questions!


## What is Kotlin DataFrame?

**Kotlin DataFrame** is a Kotlin library for working with tabular data.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add that it's written fully in Kotlin like "framework written in pure Kotlin. It is available from maven central repository"

There is no dedicated Android artifact yet, but you can include the standard **JVM artifact**
by setting up a [custom Gradle configuration](gettingStartedGradleAdvanced.md).

## How to start with Kotlin DataFrame
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed ?

Both [dataframe schemas](schemas.md) and [extension properties](extensionPropertiesApi.md)
fully support nested data structures, allowing type-safe access and transformations at any depth.

See [](hierarchical.md) for more information.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed in []?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If [] is empty, writerside automatically adds topic name:
image

@AndreiKingsley AndreiKingsley requested a review from zaleslaw July 11, 2025 11:48
@AndreiKingsley AndreiKingsley merged commit 03190bb into master Jul 11, 2025
5 checks passed
@AndreiKingsley AndreiKingsley deleted the faq branch July 11, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an FAQ section
3 participants