tabsdata.tableframe.expr.string
Expr.str | |
Expr.str.contains | Evaluate if the string contains a pattern. |
Expr.str.contains_any | Evaluate if the string contains any of the given patterns. |
Expr.str.count_matches | Counts the ocurrrences of the given pattern in the string. |
Expr.str.ends_with | Evaluate if the string ends with. |
Expr.str.extract | Extract a pattern from the string. |
Expr.str.find | Find the position of the first occurrence of the given pattern. |
Expr.str.head | Extract the start of the string up to the given length. |
Expr.str.len_bytes | Return number of bytes (not chars) of a string. |
Expr.str.len_chars | Return number of chars (not bytes) of a string. |
Expr.str.pad_end | Pad string values at the end to the given length using the given fill character. |
Expr.str.pad_start | Pad string values at the front to the given length using the given fill character. |
Expr.str.replace | Replace the first occurence of a pattern with the given string. |
Expr.str.replace_all | Replace the all occurences of a pattern with the given string. |
Expr.str.replace_many | Replace the all occurences of any the given patterns with the given string. |
Expr.str.reverse | Reverse the string. |
Expr.str.slice | Extract the substring at the given offset for the given length. |
Expr.str.starts_with | Evaluate if the string start with. |
Expr.str.strip_chars | Trim string values. |
Expr.str.strip_chars_end | Trim string values from the end of the string. |
Expr.str.strip_chars_start | Trim string values from the start of the string. |
Expr.str.strip_prefix | Trim string values removing the given prefix |
Expr.str.strip_suffix | Trim string values removing the given suffix |
Expr.str.tail | Extract the end of the string up to the given length. |
Expr.str.to_date | Convert the string to a date. |
Expr.str.to_datetime | Convert the string to a datetime. |
Expr.str.to_integer | Covert a string to integer. |
Expr.str.to_lowercase | Return the lowercase of a string. |
Expr.str.to_time | Convert the string to a time. |
Expr.str.to_titlecase | Uppercase the first character and lowercase all the others ones of a string. |
Expr.str.to_uppercase | Return the uppercase of a string. |
Expr.str.zfill | Pad numeric string values at the start to the given length using zeros. |
pydoc |
Expr.str
classView source ↗
class ExprStringNameSpace(expr: ExprStringNameSpace)
contains()contains_any()count_matches()ends_with()extract()find()head()len_bytes()len_chars()pad_end()pad_start()replace()replace_all()replace_many()reverse()slice()starts_with()strip_chars()strip_chars_end()strip_chars_start()strip_prefix()strip_suffix()tail()to_date()to_datetime()to_integer()to_lowercase()to_time()to_titlecase()to_uppercase()zfill()
pydoc
functionView source ↗
def pydoc(
categories: Literal['aggregation', 'attributes', 'date', 'description', 'logic', 'numeric', 'filters', 'generation', 'join', 'manipulation', 'projection', 'string', 'tableframe', 'type_casting', 'union'] | List[Literal['aggregation', 'attributes', 'date', 'description', 'logic', 'numeric', 'filters', 'generation', 'join', 'manipulation', 'projection', 'string', 'tableframe', 'type_casting', 'union']],
) -> Callable