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
If you initialise an array with the below code
da = DocumentArray() for test_tag in ["a", "a", "b"]: d = Document(tags={"test_tag": test_tag}) da.append(d)
Then running
del da[0] da[:, "tags__test_tag"]
Gives ["a", "b"] as expected
But if you instead do
del da[np.array(da[:, "tags__test_tag"]) == "a"] da[:, "tags__test_tag"]
Then you get ["a", "a"] but one would expect to get ["b"]
The text was updated successfully, but these errors were encountered:
Thanks a lot @josca42 for finding this bug, we've found the issue and will patch it really soon.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
If you initialise an array with the below code
Then running
Gives ["a", "b"] as expected
But if you instead do
Then you get ["a", "a"] but one would expect to get ["b"]
The text was updated successfully, but these errors were encountered: