powered by
Computes the Levenshtein distance of the two given string columns.
levenshtein(y, x)# S4 method for Column levenshtein(y, x)
# S4 method for Column levenshtein(y, x)
Column to compute on.
Other string_funcs: ascii, base64, concat_ws, concat, decode, encode, format_number, format_string, initcap, instr, length, locate, lower, lpad, ltrim, regexp_extract, regexp_replace, reverse, rpad, rtrim, soundex, substring_index, translate, trim, unbase64, upper
ascii
base64
concat_ws
concat
decode
encode
format_number
format_string
initcap
instr
length
locate
lower
lpad
ltrim
regexp_extract
regexp_replace
reverse
rpad
rtrim
soundex
substring_index
translate
trim
unbase64
upper
# NOT RUN { levenshtein(df$c, x) # }
Run the code above in your browser using DataLab