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)
This PR addresses an issue (originally found in unit test run) where the binary values for
1
andTrue
(0
andFalse
) are treated equally for this function.Changes
remove_duplicates(array)
function.remove_duplicates(array)
function.test_summarize_ranges()
method in the same test script (test_array.py
)