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_r294373063
##########
File path: python/pyspark/sql/functions.py
##########
@@ -215,7 +215,7 @@ 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.',
+ 'variance': 'Aggregate function: returns the unbiased variance of the
values in a group.',
'var_samp': 'Aggregate function: returns the unbiased variance of the
values in a group.',
Review comment:
Shall we add `unbiased sample variance` like the following two sentences?
```
'variance': 'Aggregate function: returns the unbiased sample variance of the
values in a group.',
'var_samp': 'Aggregate function: returns the unbiased sample variance of the
values in a group.',
```
----------------------------------------------------------------
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]