Open Jolanrensen opened 8 months ago
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.
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.