daft.Expression.str.right

daft.Expression.str.right#

Expression.str.right(nchars: int | daft.expressions.expressions.Expression) Expression[source]#

Gets the n (from nchars) right-most characters of each string

Example

>>> col("x").str.right(3)
Returns:

a String expression which is the n right-most characters of self

Return type:

Expression