From fc6dbcc7038c2b030ef6a2dc8be5848499ccee1c Mon Sep 17 00:00:00 2001 From: pshearer Date: Mon, 21 Dec 2015 14:04:59 -0800 Subject: Doc typo: ltrim = trim from left end, not right Author: pshearer Closes #10414 from pshearer/patch-1. --- python/pyspark/sql/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.', } -- cgit v1.2.3