Erik Shilts created SPARK-10291:
-----------------------------------
Summary: Add statsByKey method to compute StatCounters for each
key in an RDD
Key: SPARK-10291
URL: https://issues.apache.org/jira/browse/SPARK-10291
Project: Spark
Issue Type: New Feature
Components: PySpark
Reporter: Erik Shilts
Priority: Minor
A common task is to summarize numerical data for different groups. Having a
`statsByKey` method would simplify this so the user would not have to write the
aggregators for all the statistics or manage collecting by key and computing
individual StatCounters.
This should be a straightforward addition to PySpark. I can look into adding to
Scala and R if we want to maintain feature parity.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]