Define "character" in str.slice
docstring
#10349
Labels
enhancement
New feature or an improvement of an existing feature
str.slice
docstring
#10349
Problem description
From #10339, the docstring for
str.slice
currently is:It's a bit ambiguous as to whether or not a slice returns bytes or characters/codepoints. Using the following:
Polars slices return codepoints:
We should probably specify this. I think I'll go by @avimallu's recommendation.
The text was updated successfully, but these errors were encountered: