String#
The following methods are available under the Series.str
attribute.
|
Vertically concatenate the string values in the column to a single string value. |
|
Check if the string contains a substring that matches a pattern. |
|
Use the Aho-Corasick algorithm to find matches. |
|
Count all successive non-overlapping regex matches. |
|
Decode values using the provided encoding. |
|
Encode a value using the provided encoding. |
|
Check if string values end with a substring. |
Returns string values with all regular expression meta characters escaped. |
|
Returns a column with a separate row for every string character. |
|
|
Extract the target capture group from provided patterns. |
|
Extract all matches for the given regex pattern. |
|
Extract all capture groups for the given regex pattern. |
|
Use the Aho-Corasick algorithm to extract many matches. |
|
Return the bytes offset of the first substring matching a pattern. |
|
Use the Aho-Corasick algorithm to find many matches. |
Return the first n characters of each string in a String Series. |
|
|
Vertically concatenate the string values in the column to a single string value. |
|
Parse string values as JSON. |
|
Extract the first match of json string with provided JSONPath expression. |
Return the length of each string as the number of bytes. |
|
Return the length of each string as the number of characters. |
|
|
Pad the end of the string until it reaches the given length. |
|
Pad the start of the string until it reaches the given length. |
|
Replace first matching regex/literal substring with a new string value. |
|
Replace all matching regex/literal substrings with a new string value. |
|
Use the Aho-Corasick algorithm to replace many matches. |
Returns string values in reversed order. |
|
|
Extract a substring from each string value. |
|
Split the string by a substring. |
|
Split the string by a substring using |
|
Split the string by a substring, restricted to returning at most |
|
Check if string values start with a substring. |
|
Remove leading and trailing characters. |
|
Remove leading characters. |
|
Remove trailing characters. |
|
Remove prefix. |
|
Remove suffix. |
|
Convert a String column into a Date/Datetime/Time column. |
Return the last n characters of each string in a String Series. |
|
|
Convert a String column into a Date column. |
|
Convert a String column into a Datetime column. |
|
Convert a String column into a Decimal column. |
|
Convert an String column into an Int64 column with base radix. |
Modify strings to their lowercase equivalent. |
|
|
Convert a String column into a Time column. |
Modify strings to their titlecase equivalent. |
|
Modify strings to their uppercase equivalent. |
|
|
Pad the start of the string with zeros until it reaches the given length. |