aaltay commented on a change in pull request #12437: URL: https://github.com/apache/beam/pull/12437#discussion_r463880841
########## File path: website/www/site/content/en/documentation/transforms/python/aggregation/mean.md ########## @@ -16,23 +16,64 @@ limitations under the License. --> # Mean -<table align="left"> - <a target="_blank" class="button" - href="https://beam.apache.org/releases/pydoc/current/apache_beam.transforms.combiners.html?highlight=mean#apache_beam.transforms.combiners.Mean"> - <img src="https://beam.apache.org/images/logos/sdks/python.png" width="20px" height="20px" - alt="Pydoc" /> - Pydoc - </a> -</table> -<br><br> +{{< localstorage language language-py >}} + +{{< button-pydoc path="apache_beam.transforms.combiners" class="Mean" >}} Transforms for computing the arithmetic mean of the elements in a collection, or the mean of the values associated with each key in a collection of key-value pairs. ## Examples -See [BEAM-7390](https://issues.apache.org/jira/browse/BEAM-7390) for updates. -## Related transforms -* [CombineGlobally](/documentation/transforms/python/aggregation/combineglobally) to combine elements. \ No newline at end of file +In the following example, we create a pipeline with a `PCollection`. +Then, we get the element with the maximum value in different ways. Review comment: maximum -> mean, across the doc. ---------------------------------------------------------------- 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]
