diff --git a/xarray/core/computation.py b/xarray/core/computation.py index 77bd4444075..5d21d0836b9 100644 --- a/xarray/core/computation.py +++ b/xarray/core/computation.py @@ -1597,24 +1597,6 @@ def cross( array([ 0, 0, -3]) Dimensions without coordinates: dim_0 - One vector with different dimension order: - - >>> a = xr.DataArray( - ... [1, 2, 0], - ... dims=["cartesian"], - ... coords=dict(cartesian=(["cartesian"], ["x", "z", "y"])), - ... ) - >>> b = xr.DataArray( - ... [4, 5, 6], - ... dims=["cartesian"], - ... coords=dict(cartesian=(["cartesian"], ["x", "y", "z"])), - ... ) - >>> xr.cross(a, b, dim="cartesian") - Size: 24B - array([-10, 2, 5]) - Coordinates: - * cartesian (cartesian)