Skip to content
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

Fix remove_duplicates function to handle binary values #918

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ca20110820
Copy link

@ca20110820 ca20110820 commented Apr 14, 2024

This PR addresses an issue (originally found in unit test run) where the binary values for 1 and True (0 and False) are treated equally for this function.

Changes

  • Updated implementation of remove_duplicates(array) function.
  • Updated the unit tests for remove_duplicates(array) function.
  • Added docstring to reflect the improved behavior and provide clear examples.
  • Fixed the subsequent error in test_summarize_ranges() method in the same test script (test_array.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant