We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Regression" from #8441:
>>> np.apply_along_axis(lambda x: set(x), 1, [[1, 2, 3]]) array([array({1, 2, 3}, dtype=object)], dtype=object)
Expected
array([{1, 2, 3}], dtype=object)
Before the #8441 patch (#5248):
array([[{1, 2, 3}, {1, 2, 3}, {1, 2, 3}]], dtype=object)
This comes down to the fact that arr[...] = np.array(a_scalar) does a different thing when the scalar is of object dtype
arr[...] = np.array(a_scalar)
object
The text was updated successfully, but these errors were encountered:
BUG: Fix double-wrapping of object scalars
fa56437
Fixes numpy#8642
No branches or pull requests
"Regression" from #8441:
Expected
Before the #8441 patch (#5248):
This comes down to the fact that
arr[...] = np.array(a_scalar)
does a different thing when the scalar is ofobject
dtypeThe text was updated successfully, but these errors were encountered: