zip#
- geetools.ee_list.ListAccessor.zip()#
Zip a list of lists.
The nested lists need to all have the same size. The size of the first element will be taken as reference.
- Returns:
A list of lists with the zipped elements.
- Return type:
Examples
import ee, geetools from geetools.utils import initialize_documentation initialize_documentation() l = ee.List([[1,2,3], [4,5,6], [7,8,9]]) l = l.geetools.zip() l.getInfo()
[[1, 4, 7], [2, 5, 8], [3, 6, 9]]