groupBy
类: matlab.compiler.mlspark.RDD
命名空间: matlab.compiler.mlspark
返回分组项目的 RDD
语法
result = groupBy(obj,func,numPartitions)
说明
根据由 result = groupBy(obj,func,numPartitions)func 指示的用户指定条件对 obj 的元素进行分组。numPartitions 指定要在结果 RDD 中创建的分区数。
输入参数
输出参量
示例
版本历史记录
在 R2016b 中推出