On this page
Apply operations on text columns
Basic text operations
This allows you to apply the same operations on all the text columns that are in the dataset. You can specify as much operation needed. Operations are applied sequentially (in order) on each column.
In the following example I apply the triws
operation to remove all whitespace (left and reight) from all entries of the text columns.
After that, I want all text column to be in upper case.
[data.texts]
preprocess = [
{op = "clean", method = "trimws"},
{op = "clean", method = "upper"}
]
Last updated 27 May 2025, 11:59 +0200 .