Dataframe 0.13 Help

String API

String column names are the easiest way to access data in DataFrame:

DataFrame.read("titanic.csv") .add("lastName") { "name"<String>().split(",").last() } .dropNulls("age") .filter { "survived"<Boolean>() && "home"<String>().endsWith("NY") && "age"<Int>() in 10..20 }

The titanic.csv file could be found here.

Last modified: 29 March 2024