Add support for Array API in NamedArray #14614
Annotations
10 errors
Run tests:
xarray/tests/test_array_api.py#L41
test_aggregation
ValueError: x must be at least 2-dimensional for matrix_transpose
|
Run tests:
xarray/tests/test_array_api.py#L49
test_aggregation_skipna
ValueError: x must be at least 2-dimensional for matrix_transpose
|
Run tests:
xarray/tests/test_namedarray.py#L265
TestNamedArray.test_from_array_with_explicitly_indexed
assert False
+ where False = isinstance(array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32), CustomArrayIndexable)
+ where array([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.],\n [10., 11., 12., 13., 14.],\n [15.,... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32) = <xarray.NamedArray (x: 3, y: 4, z: 5)> Size: 240B\narray([[[ 0., 1., 2., 3., 4.],\n [ 5., 6., 7., 8., 9.]... [45., 46., 47., 48., 49.],\n [50., 51., 52., 53., 54.],\n [55., 56., 57., 58., 59.]]], dtype=float32).data
|
Run tests:
xarray/tests/test_namedarray.py#L280
TestNamedArray.test_real_and_imag
ValueError: matrix transpose with ndim < 2 is undefined
|
Run tests:
xarray/tests/test_namedarray.py#L382
TestNamedArray.test_duck_array_class
TypeError: a (<class 'xarray.tests.test_namedarray.CustomArrayIndexable'>) is not a valid _arrayfunction or _arrayapi. Missing following attrs:
_arrayfunction - {'__array_ufunc__', 'real', '__array_function__', 'imag'}
_arrayapi - {'to_device', 'mT', 'device'}
|
Run tests:
xarray/tests/test_namedarray.py#L391
TestNamedArray.test_duck_array_class_array_api
ValueError: x must be at least 2-dimensional for matrix_transpose
|
Run tests:
xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-3-3-False-2]
ValueError: matrix transpose with ndim < 2 is undefined
|
Run tests:
xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-4-None-True-2]
ValueError: matrix transpose with ndim < 2 is undefined
|
Run tests:
xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-4-None-False-2]
ValueError: matrix transpose with ndim < 2 is undefined
|
Run tests:
xarray/tests/test_rolling.py#L259
TestDataArrayRolling.test_rolling_reduce[numbagg-numpy-std-4-1-True-2]
ValueError: matrix transpose with ndim < 2 is undefined
|
Loading