pyspark.sql.functions.rtrim

pyspark.sql.functions.rtrim(col)[source]

Trim the spaces from right end for the specified string value.

New in version 1.5.