🍾 Xarray is now 10 years old! 🎉

xarray.IndexVariable.shape

xarray.IndexVariable.shape#

property IndexVariable.shape#

Get the shape of the array.

Returns:

shape (tuple of ints) – Tuple of array dimensions.