You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the array api standard, the shape property returns tuple[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:
(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...)
Linking to more info on this, and the connection to ragged arrays: #4285 (comment)
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: