dongjoon-hyun commented on a change in pull request #24895: [MINOR][DOC] Fix
python variance() documentation
URL: https://github.com/apache/spark/pull/24895#discussion_r295394934
##########
File path: python/pyspark/sql/functions.py
##########
@@ -215,8 +215,8 @@ def _():
' the expression in a group.',
'stddev_pop': 'Aggregate function: returns population standard deviation
of' +
' the expression in a group.',
- 'variance': 'Aggregate function: returns the population variance of the
values in a group.',
- 'var_samp': 'Aggregate function: returns the unbiased variance of the
values in a group.',
+ 'variance': 'Aggregate function: alias for var_samp.',
Review comment:
Please update line 212 consistently, `alias for stddev_samp`, too.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]