Main Content
groupBy
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Return an RDD of grouped items
Syntax
result =
groupBy(obj,func,numPartitions)
Description
groups
the elements of result
=
groupBy(obj
,func
,numPartitions
)obj
according a user-specified
criteria denoted by func
. numPartitions
specifies
the number of partitions to create in the resulting RDD.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016b