MCPcopy Index your code
hub / github.com/google/earthengine-api / argmax

Method argmax

python/ee/ee_array.py:147–157  ·  view source on GitHub ↗

Returns the position of the maximum value in an array. If there are multiple occurrences of the maximum, returns the position of the first. Returns: An ee.List that is empty if the input in an empty ee.Array.

(self)

Source from the content-addressed store, hash-verified

145 return apifunction.ApiFunction.call_(self.name() + '.and', self, right)
146
147 def argmax(self) -> ee_list.List:
148 """Returns the position of the maximum value in an array.
149
150 If there are multiple occurrences of the maximum, returns the position of
151 the first.
152
153 Returns:
154 An ee.List that is empty if the input in an empty ee.Array.
155 """
156
157 return apifunction.ApiFunction.call_(self.name() + '.argmax', self)
158
159 def asin(self) -> Array:
160 """Computes the arcsine in radians of the input."""

Callers 1

test_argmaxMethod · 0.80

Calls 2

nameMethod · 0.95
call_Method · 0.80

Tested by 1

test_argmaxMethod · 0.64