Kotlin/dataframe

Split into typed column accessors creates string cols nonetheless

Jolanrensen opened this issue · 0 comments

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.