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:
Examples
import ee, geetools from geetools.utils import initialize_documentation initialize_documentation() l = ee.List(["a", 1, ee.Image(0)]) l = l.geetools.toStrings() l.getInfo()
['a', '1', 'Image']