Skip to content

Split into typed column accessors creates string cols nonetheless #565

Description

@Jolanrensen
dataFrameOf("address")(
    "12 Street A",
    "124346 Street B"
) 
  .split("address")
  .by(' ', limit = 2)
  .into(column<Int>("number"), column<String>("street"))

// number: String
// street: String

Split into allows you to specify column accessors (or KProperties) with a type, however, just the name of these columns is taken. It might be expected that writing something like this would attempt to auto-convert a column to the given type.

Metadata

Metadata

Assignees

Labels

APIIf it touches our API

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions