What happened?
Its on the website https://docs.xarray.dev/en/stable/user-guide/terminology.html, but isn't true in general.
What did you expect to happen?
the following code should return true, if the website is correct.
Minimal Complete Verifiable Example
importxarrayasxrimportnumpyasnpdata=xr.DataArray(np.random.randn(2, 3), dims=("x", "y"), coords={"x": [10, 20]})
print(len(data.dims ))
print(len(data.coords))
print( len(data.dims) <=len(data.coords) )MVCE confirmation
Relevant log output
No response
Anything else we need to know?
No response
Environment
Details
What happened?
Its on the website https://docs.xarray.dev/en/stable/user-guide/terminology.html, but isn't true in general.
What did you expect to happen?
the following code should return true, if the website is correct.
Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
No response
Anything else we need to know?
No response
Environment
Details