This repository has been archived by the owner on May 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change unique() to return values in the same ordering as levels for PDAs
While the generic unique() method says it preserves the order of appearance, the ordering of levels is more likely to be useful. In particular, it will allow StatsModels to use unique() to get levels present in the data in the user-defined order, with the first level as reference by default. The new code is based on CategoricalArrays.
- Loading branch information
Showing
2 changed files
with
28 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters