geetools.List.ListAccessor.join#

geetools.List.ListAccessor.join(separator=', ')#

Format a list to a string.

Same as the join method but elements that cannot be stringified will be returned as the object type.

Parameters:

separator (geetools.types.ee_str) – The separator to use.

Returns:

A string with the list elements separated by commas.

Return type:

ee.string

Examples

import ee, geetools

ee.Initialize()

l = ee.List(['a', 1, ee.Image(0)])
l.geetools.join().getInfo()