TypeError
when accessing .real
and .imag
attribute on sparse array of string type
#608
Labels
TypeError
when accessing .real
and .imag
attribute on sparse array of string type
#608
Describe the bug
attempting to access the
.real
attribute on asparse.COO
object with string data type results in aTypeError: string indices must be integers
.To Reproduce
Expected behavior
given that NumPy arrays with string data type return the array itself when accessing
.real
, i was expecting the same behavior forsparse.COO
objects.System
macOS-14.0-arm64-arm-64bit
sparse
version (0.14.0
)1.24.4
)numba.__version__
)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: