ee.Array.project

Projects an array to a lower dimensional space by specifying the axes to retain. Dropped axes must be at most length 1.

UsageReturns
Array.project(axes)Array
ArgumentTypeDetails
this: arrayArray

Array to project.

axesList

The axes to project onto. Other axes will be discarded, and must be at most length 1.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!