ee.Reducer.disaggregate

Separates aggregate inputs (Arrays, Lists or Dictionaries) into individual items that are then each passed to the specified reducer. When used on dictionaries, the dictionary keys are ignored. Non-aggregated inputs (ie: numbers or strings) are passed to the underlying reducer directly.

UsageReturns
Reducer.disaggregate(axis)Reducer
ArgumentTypeDetails
this: reducerReducer

The reducer for which to disaggregate inputs.

axisInteger, default: null

If specified, indicates an array axis along which to disaggregate. If not specified, arrays are completely disaggregated. Ignored for non-array types.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!