Annuncio: tutti i progetti non commerciali registrati per l'utilizzo di Earth Engine prima del
15 aprile 2025 devono
verificare l'idoneità non commerciale per mantenere l'accesso a Earth Engine.
ee.List.zip
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Accoppia gli elementi di due elenchi per creare un elenco di elenchi di due elementi. Quando gli elenchi di input hanno dimensioni diverse, l'elenco finale ha le stesse dimensioni di quello più breve.
Utilizzo | Resi |
---|
List.zip(other) | Elenco |
Argomento | Tipo | Dettagli |
---|
questo: list | Elenco | |
other | Elenco | |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eList.zip\u003c/code\u003e combines two lists by pairing corresponding elements, creating a new list of two-element lists.\u003c/p\u003e\n"],["\u003cp\u003eThe resulting list's length is determined by the shorter of the two input lists, ensuring all elements have a pair.\u003c/p\u003e\n"]]],["Combines two lists into a single list of two-element lists, pairing corresponding elements. The resulting list's length matches the shorter of the two input lists. The `List.zip(other)` function takes two list arguments: `this`, representing the initial list, and `other`, the second list. It returns a new List containing paired elements. If the lists are of differing lengths, extra items in the longer list are not included.\n"],null,["# ee.List.zip\n\nPairs the elements of two lists to create a list of two-element lists. When the input lists are of different sizes, the final list has the same size as the shortest one.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------|---------|\n| List.zip`(other)` | List |\n\n| Argument | Type | Details |\n|--------------|------|---------|\n| this: `list` | List | |\n| `other` | List | |"]]