-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Error passing significant digits and two numpy array containing strings #345
Comments
seperman
added a commit
that referenced
this issue
Nov 20, 2023
Hi @SimonRubenDrauz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have two objects I want to compare with each other. In order to do so I use your package deepdiff. So imagine you have object A and object B. In order to check, if both objects are equal, I did the following:
Doing this in case of a list of strings in _dict_, I get the following error:
A quickfix that worked for me in self._diff_numy_array:
If you agree on that quickfix, I can do a PR, if you want to.
To Reproduce
Expected behavior
I would expect that passing a dictionary where significant_digits apply to only few entries, in case of the other entries it is just skipped.
OS, DeepDiff version and Python version (please complete the following information):
Additional context
The numpy version I use is 1.22.4
The text was updated successfully, but these errors were encountered: