@@ -34,7 +34,7 @@ In the most of the code snippets in this documentation there's a tab selector th
3434<!-- -FUN extensionProperties1-->
3535
3636``` kotlin
37- val df = DataFrame .read(" titanic.csv" )
37+ val df = DataFrame .read(" titanic.csv" , delimiter = ' ; ' )
3838```
3939
4040<!-- -END-->
@@ -55,7 +55,7 @@ df.add("lastName") { name.split(",").last() }
5555<!-- -FUN strings-->
5656
5757``` kotlin
58- DataFrame .read(" titanic.csv" )
58+ DataFrame .read(" titanic.csv" , delimiter = ' ; ' )
5959 .add(" lastName" ) { " name" <String >().split(" ," ).last() }
6060 .dropNulls(" age" )
6161 .filter {
@@ -79,7 +79,7 @@ val age by column<Int?>()
7979val name by column<String >()
8080val lastName by column<String >()
8181
82- DataFrame .read(" titanic.csv" )
82+ DataFrame .read(" titanic.csv" , delimiter = ' ; ' )
8383 .add(lastName) { name().split(" ," ).last() }
8484 .dropNulls { age }
8585 .filter { survived() && home().endsWith(" NY" ) && age()!! in 10 .. 20 }
@@ -100,7 +100,7 @@ data class Passenger(
100100 val lastName : String
101101)
102102
103- val passengers = DataFrame .read(" titanic.csv" )
103+ val passengers = DataFrame .read(" titanic.csv" , delimiter = ' ; ' )
104104 .add(Passenger ::lastName) { " name" <String >().split(" ," ).last() }
105105 .dropNulls(Passenger ::age)
106106 .filter {
0 commit comments