MCPcopy
hub / github.com/google/earthengine-api / flatten

Method flatten

python/ee/ee_list.py:210–213  ·  view source on GitHub ↗

Flattens any sublists into a single list.

(self)

Source from the content-addressed store, hash-verified

208 return apifunction.ApiFunction.call_(self.name() + '.filter', self, filter)
209
210 def flatten(self) -> List:
211 """Flattens any sublists into a single list."""
212
213 return apifunction.ApiFunction.call_(self.name() + '.flatten', self)
214
215 def frequency(self, element: Any) -> ee_number.Number:
216 """Returns the number of elements in list equal to element.

Callers 4

test_flattenMethod · 0.45
test_flattenMethod · 0.45
test_flattenMethod · 0.45
encodable.jsFile · 0.45

Calls 2

nameMethod · 0.95
call_Method · 0.80

Tested by 3

test_flattenMethod · 0.36
test_flattenMethod · 0.36
test_flattenMethod · 0.36