-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
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
DeepDiff cannot compare two zero-dimensional ndarrays
#463
Comments
ndarrays
ndarrays
Hi @dantp-ai Interesting. I was not aware of scalars in Numpy. I have only used Numpy for arrays. I will take a look when I have a chance. PRs are always very welcome too! |
ndarrays
ndarrays
ndarrays
ndarrays
@seperman I've updated the terminology to not get confused with Scalars.
|
Describe the bug
DeepDiff
cannot compare two zero-dimensionalndarray
s (i.e., shape is ()).To Reproduce
Expected behavior
Comparing two arrays with shape () should be possible out-of-the-box with default arguments to
DeepDiff
.OS, DeepDiff version and Python version (please complete the following information):
Additional context
Similar to #153 and #332 .
The text was updated successfully, but these errors were encountered: