For users
apply_ufunc
For developers/contributors
Community
DataArray.
get_axis_num
Return axis number(s) corresponding to dimension(s) in this array.
dim (str or iterable of str) – Dimension name(s) for which to lookup axes.
str
int or tuple of int – Axis number or numbers corresponding to the given dimensions.
int
tuple