geetools.ListAccessor.delete#

geetools.ListAccessor.delete(index)#

Delete an element from a list.

Parameters:

index (geetools.types.ee_int) – The index of the element to delete.

Returns:

The list without the element at the given index.

Return type:

ee.List

Examples

import ee, geetools

ee.Initialize()

l = ee.List(["a", "b", "c"])
l.geetools.delete(1).getInfo()