ee.Dictionary.map

Map an algorithm over a dictionary. The algorithm is expected to take 2 arguments, a key from the existing dictionary and the value it corresponds to, and return a new value for the given key. If the algorithm returns null, the key is dropped.

UsageReturns
Dictionary.map(baseAlgorithm)Dictionary
ArgumentTypeDetails
this: dictionaryDictionary

baseAlgorithmAlgorithm

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!