Skip to content

Commit

Permalink
[DOCS] [SQL] [PYSPARK] Fix typo in ntile function
Browse files Browse the repository at this point in the history
Fix typo in ntile function.

Author: Moussa Taifi <moutai10@gmail.com>

Closes #8261 from moutai/patch-2.
  • Loading branch information
moutai authored and srowen committed Aug 19, 2015
1 parent f141efe commit 865a3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/sql/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 865a3df

Please sign in to comment.