Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kiszk committed Apr 19, 2018
1 parent 96dd82b commit 90e026e
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 @@ -1867,7 +1867,7 @@ def array_position(col, value):
def element_at(col, extraction):
"""
Collection function: Returns element of array at given index in extraction if col is array.
returns value for the given key in extraction if col is map.
Returns value for the given key in extraction if col is map.
:param col: name of column containing array or map
:param extraction: index to check for in array or key to check for in map
Expand Down

0 comments on commit 90e026e

Please sign in to comment.