NamedArray.shape
does not support unknown dimensions
#8291
Labels
NamedArray.shape
does not support unknown dimensions
#8291
What is your issue?
According to the array api standard, the
shape
property returnstuple[int | None, ...]
.Currently we only support
tuple[int, ...]
This will actually raise some errors if a duckarray actually returns some None.
E.g.
NamedArray.size
will fail.(On a side note: dask arrays actually use NaN instead of None for some reason.... Only advantage of this is that
NamedArray.size
will actually also return NaN instead of raising...)The text was updated successfully, but these errors were encountered: