From 43df7ccc9c64b597957768027826bfdc4441d18a Mon Sep 17 00:00:00 2001 From: Jonas Marcello Date: Sun, 14 Jul 2024 20:46:53 +0200 Subject: [PATCH] docs: Rename `str.lengths` to `str.len_bytes` in description text (#11577) --- docs/user-guide/expressions/strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/expressions/strings.md b/docs/user-guide/expressions/strings.md index 4b47088faac0..b7aefcf0ba75 100644 --- a/docs/user-guide/expressions/strings.md +++ b/docs/user-guide/expressions/strings.md @@ -6,7 +6,7 @@ String processing functions are available in the `str` namespace. ##### Accessing the string namespace -The `str` namespace can be accessed through the `.str` attribute of a column with `String` data type. In the following example, we create a column named `animal` and compute the length of each element in the column in terms of the number of bytes and the number of characters. If you are working with ASCII text, then the results of these two computations will be the same, and using `lengths` is recommended since it is faster. +The `str` namespace can be accessed through the `.str` attribute of a column with `String` data type. In the following example, we create a column named `animal` and compute the length of each element in the column in terms of the number of bytes and the number of characters. If you are working with ASCII text, then the results of these two computations will be the same, and using `len_bytes` is recommended since it is faster. {{code_block('user-guide/expressions/strings','df',['str.len_bytes','str.len_chars'])}}