Skip to content

Commit d4e5fb8

Browse files
authored
Make levels docstring more precise (#25)
* Make levels docstring more precise If `sort!` fails then (fortunately) no levels are lost, but it might reorder part of the vector before failing. * Update src/DataAPI.jl
1 parent 9709a15 commit d4e5fb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DataAPI.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ function describe end
8585
Return a vector of unique values which occur or could occur in collection `x`,
8686
omitting `missing` even if present. Values are returned in the preferred order
8787
for the collection, with the result of [`sort`](@ref) as a default.
88+
If the collection is not sortable then the order of levels is unspecified.
8889
8990
Contrary to [`unique`](@ref), this function may return values which do not
9091
actually occur in the data, and does not preserve their order of appearance in `x`.

0 commit comments

Comments
 (0)