holgerbrandl
02/17/2023, 10:28 AMirisData
.add("SpeciesWithPrefix"){ "prefix" + "Species"<String>()} // record expression
.replace("Species")
.with { it.cast<String>().map { "prefix_" + it } } // same idea but here a column expression seems required
Nikita Klimenko [JB]
02/17/2023, 1:39 PMconvert
is a special case of replace
for this task
https://kotlin.github.io/dataframe/operations.html#shortcut-operations
https://kotlin.github.io/dataframe/convert.htmlholgerbrandl
02/17/2023, 3:43 PM