Main Content
zip
Class: matlab.compiler.mlspark.RDD
Namespace: matlab.compiler.mlspark
Zip one RDD with another
Syntax
result =
zip(obj1,obj2)
Description
returns
a key-value pair RDD result
=
zip(obj1
,obj2
)result
,
where the first element in the pair is from obj1
and
second element is from obj2
. The output RDD result
has the same number of elements
as obj1
. Both the obj1
and
the obj2
must have the same length.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016b