Skip to content

Add a way to create hierarchical dataframes without variables #353

Closed
@koperagen

Description

@koperagen

So this is supported

// DataFrame with 2 columns and 3 rows
val df = dataFrameOf(
    "name" to listOf("Alice", "Bob", "Charlie"),
    "age" to listOf(15, 20, 100)
)

But if you want to create columnGroup, you'll have to completely rewrite your code:

val name by columnOf(...) or val name = listOf().toColumn()
val age = ...
val group by columnOf(name, age)
val df = dataFrameof(group)

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions