ibis.expr.api.StringValue.replace

StringValue.replace(arg, pattern, replacement)

Replaces each exactly occurrence of pattern with given replacement string. Like Python built-in str.replace

Parameters:

pattern : string

replacement : string

Returns:

replaced : string

Examples

table.strings.replace(‘aaa’, ‘foo’) ‘aaabbbaaa’ becomes ‘foobbbfoo’