Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add missing space
  • Loading branch information
mgaido91 authored Apr 10, 2018
commit c8c1d0385f9ccaa714f5f57d3e65c12bf9586447
2 changes: 1 addition & 1 deletion python/pyspark/sql/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2087,7 +2087,7 @@ def array_max(col):

:param col: name of column or expression

>>> df = spark.createDataFrame([([2, 1, 3],),([None, 10, -1],)], ['data'])
>>> df = spark.createDataFrame([([2, 1, 3],), ([None, 10, -1],)], ['data'])
>>> df.select(array_max(df.data).alias('max')).collect()
[Row(max=3), Row(max=10)]
"""
Expand Down