geetools.ListAccessor.toStrings#
- geetools.ListAccessor.toStrings()#
Convert elements of a list into Strings.
If the list contains other elements that are not strings or numbers, it will return the object type. For example, [‘a’, 1, ee.Image(0)] -> [‘a’, ‘1’, ‘Image’].
- Returns:
A list of strings corresponding to the elements of the list.
- Return type:
ee.List
Examples
import ee, geetools ee.Initialize() l = ee.List(["a", 1, ee.Image(0)]) l.geetools.toStrings().getInfo()