Skip to content

DOC: let docstring mention that unique_values is now unsorted#28495

Merged
charris merged 1 commit into
numpy:mainfrom
mhvk:unique-values-docstring
Mar 13, 2025
Merged

DOC: let docstring mention that unique_values is now unsorted#28495
charris merged 1 commit into
numpy:mainfrom
mhvk:unique-values-docstring

Conversation

@mhvk

@mhvk mhvk commented Mar 13, 2025

Copy link
Copy Markdown
Contributor

This is a small follow-up to #26018, to add a note to unique_values to warn possible users that the results will not necessarily be sorted (since that change has let to failing tests downstream; see gh-28493)

Fixes #28493

@charris

charris commented Mar 13, 2025

Copy link
Copy Markdown
Member

Thanks Marten.

@mhvk mhvk deleted the unique-values-docstring branch March 22, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: np.unique_values(...) isn't equivalent to np.unique(..., equal_nan=False) on main

2 participants