diff options
author | Moussa Taifi <moutai10@gmail.com> | 2015-08-19 09:42:41 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-08-19 09:42:41 +0100 |
commit | 865a3df3d578c0442c97d749c81f554b560da406 (patch) | |
tree | 3f08e35437ea0a8edd9c833a7d0613336a9f5691 | |
parent | f141efeafb42b14b5fcfd9aa8c5275162042349f (diff) | |
download | spark-865a3df3d578c0442c97d749c81f554b560da406.tar.gz spark-865a3df3d578c0442c97d749c81f554b560da406.tar.bz2 spark-865a3df3d578c0442c97d749c81f554b560da406.zip |
[DOCS] [SQL] [PYSPARK] Fix typo in ntile function
Fix typo in ntile function.
Author: Moussa Taifi <moutai10@gmail.com>
Closes #8261 from moutai/patch-2.
-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 41dfee9f54..4b74a50152 100644 --- a/python/pyspark/sql/functions.py +++ b/python/pyspark/sql/functions.py @@ -531,7 +531,7 @@ def lead(col, count=1, default=None): def ntile(n): """ Window function: returns the ntile group id (from 1 to `n` inclusive) - in an ordered window partition. Fow example, if `n` is 4, the first + in an ordered window partition. For example, if `n` is 4, the first quarter of the rows will get value 1, the second quarter will get 2, the third quarter will get 3, and the last quarter will get 4. |