From 024482bf51e8158eed08a7dc0758f585baf86e1f Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Mon, 22 Feb 2016 09:52:07 +0000 Subject: [MINOR][DOCS] Fix all typos in markdown files of `doc` and similar patterns in other comments ## What changes were proposed in this pull request? This PR tries to fix all typos in all markdown files under `docs` module, and fixes similar typos in other comments, too. ## How was the this patch tested? manual tests. Author: Dongjoon Hyun Closes #11300 from dongjoon-hyun/minor_fix_typos. --- python/pyspark/sql/functions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/pyspark') diff --git a/python/pyspark/sql/functions.py b/python/pyspark/sql/functions.py index fdae05d98c..6894c27338 100644 --- a/python/pyspark/sql/functions.py +++ b/python/pyspark/sql/functions.py @@ -479,7 +479,7 @@ def round(col, scale=0): @since(1.5) def shiftLeft(col, numBits): - """Shift the the given value numBits left. + """Shift the given value numBits left. >>> sqlContext.createDataFrame([(21,)], ['a']).select(shiftLeft('a', 1).alias('r')).collect() [Row(r=42)] @@ -490,7 +490,7 @@ def shiftLeft(col, numBits): @since(1.5) def shiftRight(col, numBits): - """Shift the the given value numBits right. + """Shift the given value numBits right. >>> sqlContext.createDataFrame([(42,)], ['a']).select(shiftRight('a', 1).alias('r')).collect() [Row(r=21)] @@ -502,7 +502,7 @@ def shiftRight(col, numBits): @since(1.5) def shiftRightUnsigned(col, numBits): - """Unsigned shift the the given value numBits right. + """Unsigned shift the given value numBits right. >>> df = sqlContext.createDataFrame([(-42,)], ['a']) >>> df.select(shiftRightUnsigned('a', 1).alias('r')).collect() -- cgit v1.2.3