ee.Dictionary.rename

Rename elements in a dictionary.

UsageReturns
Dictionary.rename(from, to, overwrite)Dictionary
ArgumentTypeDetails
this: dictionaryDictionary

fromList

A list of keys to be renamed.

toList

A list of the new names for the keys listed in the 'from' parameter. Must have the same length as the 'from' list.

overwriteBoolean, default: false

Allow overwriting existing properties with the same name.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!