diff options
author | pshearer <pshearer@massmutual.com> | 2015-12-21 14:04:59 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-12-21 14:04:59 -0800 |
commit | fc6dbcc7038c2b030ef6a2dc8be5848499ccee1c (patch) | |
tree | ec68eda2f1a4ea63ed6d78a33a7c6bac026356f6 | |
parent | 1eb90bc9cac33780890567343dab75fc14f9110a (diff) | |
download | spark-fc6dbcc7038c2b030ef6a2dc8be5848499ccee1c.tar.gz spark-fc6dbcc7038c2b030ef6a2dc8be5848499ccee1c.tar.bz2 spark-fc6dbcc7038c2b030ef6a2dc8be5848499ccee1c.zip |
Doc typo: ltrim = trim from left end, not right
Author: pshearer <pshearer@massmutual.com>
Closes #10414 from pshearer/patch-1.
-rw-r--r-- | python/pyspark/sql/functions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/sql/functions.py b/python/pyspark/sql/functions.py index 90625949f7..25594d79c2 100644 --- a/python/pyspark/sql/functions.py +++ b/python/pyspark/sql/functions.py @@ -1053,7 +1053,7 @@ _string_functions = { 'lower': 'Converts a string column to lower case.', 'upper': 'Converts a string column to upper case.', 'reverse': 'Reverses the string column and returns it as a new string column.', - 'ltrim': 'Trim the spaces from right end for the specified string value.', + 'ltrim': 'Trim the spaces from left end for the specified string value.', 'rtrim': 'Trim the spaces from right end for the specified string value.', 'trim': 'Trim the spaces from both ends for the specified string column.', } |