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 strings in Series contain a substring that matches a regex. |
|
Use the aho-corasick algorithm to find matches. |
|
Count all successive non-overlapping regex 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 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. |
|
Return the index of the first substring in Series strings matching a pattern. |
Return the first n characters of each string in a String Series. |
|
|
Parse string values as JSON. |
|
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. |
|
Return the number of bytes in each string. |
|
|
Return the string left justified in a string of length |
|
Remove leading characters. |
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. |
|
Parse integers with base radix from strings. |
|
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. |
|
|
Return the string right justified in a string of length |
|
Remove trailing characters. |
|
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 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 the strings to their lowercase equivalent. |
|
|
Convert a String column into a Time column. |
Modify the strings to their titlecase equivalent. |
|
Modify the strings to their uppercase equivalent. |
|
|
Pad the start of the string with zeros until it reaches the given length. |