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_assertions.py#L189
test_ensure_warnings_not_elevated[assert_duckarray_equal]
AttributeError: module 'numpy' has no attribute 'bool'.
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
|
Run tests:
xarray\tests\test_namedarray.py#L527
TestNamedArray.test_expand_dims[None-3-expected_shape0-expected_dims0]
FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
|
Run tests:
xarray\tests\test_namedarray.py#L527
TestNamedArray.test_expand_dims[dim1-3-expected_shape1-expected_dims1]
FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
|
Run tests:
xarray\tests\test_namedarray.py#L527
TestNamedArray.test_expand_dims[z-3-expected_shape2-expected_dims2]
FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
|
Run tests:
xarray\tests\test_namedarray.py#L546
TestNamedArray.test_permute_dims[dims0-expected_sizes0]
FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
|
Run tests:
xarray\tests\test_namedarray.py#L546
TestNamedArray.test_permute_dims[dims1-expected_sizes1]
FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
|
Run tests:
xarray\tests\test_namedarray.py#L546
TestNamedArray.test_permute_dims[dims2-expected_sizes2]
FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
|
Run tests:
xarray\tests\test_namedarray.py#L555
TestNamedArray.test_permute_dims_errors
FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
|
Loading