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.
Usage | Returns |
---|
Array.project(axes) | Array |
Argument | Type | Details |
---|
this: array | Array | Array to project. |
axes | List | The axes to project onto. Other axes will be discarded, and must be at most length 1. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["The `project` method reduces the dimensionality of an array by selecting specific axes to keep."],["Axes that are not included in the projection and have a size greater than 1 will be dropped, resulting in a lower-dimensional array."],["It takes an array and a list of axes as input and returns the projected array."]]],[]]