ee.Array.matrixTranspose

Transposes two dimensions of an array.

UsageReturns
Array.matrixTranspose(axis1, axis2)Array
ArgumentTypeDetails
this: arrayArray

Array to transpose.

axis1Integer, default: 0

First axis to swap.

axis2Integer, default: 1

Second axis to swap.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!