Skip to content

Fix remove_duplicates function to handle binary values#918

Closed
ca20110820 wants to merge 3 commits intokeon:masterfrom
ca20110820:fix_remove_duplicates_function
Closed

Fix remove_duplicates function to handle binary values#918
ca20110820 wants to merge 3 commits intokeon:masterfrom
ca20110820:fix_remove_duplicates_function

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)

@keon
Copy link
Owner

keon commented Feb 17, 2026

Thanks for the bug fix! The repo was restructured in v1.0.0. Closing as the changes no longer apply cleanly.

@keon keon closed this Feb 17, 2026
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.

2 participants