# xarray.core.indexing.LazilyVectorizedIndexedArray

### *class* xarray.core.indexing.LazilyVectorizedIndexedArray(array, key)[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/indexing.py#L829-L909)

Wrap an array to make vectorized indexing lazy.

#### \_\_init_\_(array, key)[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/indexing.py#L834-L846)

* **Parameters:**
  * **array** ([array_like](https://numpy.org/doc/stable/glossary.html#term-array_like)) – Array like object to index.
  * **key** ([`VectorizedIndexer`](xarray.core.indexing.VectorizedIndexer.html.md#xarray.core.indexing.VectorizedIndexer))

### Methods

| [`__init__`](#xarray.core.indexing.LazilyVectorizedIndexedArray.__init__)(array, key)   |    |
|-------------------------------------------------------------------------|----|
| `async_get_duck_array`()                                                |    |
| `get_duck_array`()                                                      |    |
| `transpose`(order)                                                      |    |

### Attributes

| `array`   |                                  |
|-----------|----------------------------------|
| `key`     |                                  |
| `dtype`   |                                  |
| `ndim`    | Number of array dimensions.      |
| `oindex`  |                                  |
| `shape`   |                                  |
| `size`    | Number of elements in the array. |
| `vindex`  |                                  |
