-
-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Categorical constructor scalar categories #16340
BUG: Categorical constructor scalar categories #16340
Conversation
lgtm. |
Codecov Report
@@ Coverage Diff @@
## master #16340 +/- ##
==========================================
- Coverage 90.38% 90.36% -0.03%
==========================================
Files 161 161
Lines 50916 50918 +2
==========================================
- Hits 46020 46011 -9
- Misses 4896 4907 +11
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #16340 +/- ##
==========================================
- Coverage 90.4% 90.36% -0.05%
==========================================
Files 161 161
Lines 50933 50935 +2
==========================================
- Hits 46048 46027 -21
- Misses 4885 4908 +23
Continue to review full report at Codecov.
|
doc/source/whatsnew/v0.21.0.txt
Outdated
Categorical | ||
^^^^^^^^^^^ | ||
|
||
- The Categorical constructor no longer accepts a scalar for the ``categories`` keyword (:issue:`16022`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
put it in api changes section ?
Categorical constructor no longer accepts scalars for categories. Closes pandas-dev#16022
91bb0fd
to
d898b8b
Compare
* upstream/master: (48 commits) BUG: Categorical comparison with unordered (pandas-dev#16339) ENH: Adding 'protocol' parameter to 'to_pickle'. PERF: improve MultiIndex get_loc performance (pandas-dev#16346) TST: remove pandas-datareader xfail as 0.4.0 works (pandas-dev#16374) TST: followup to pandas-dev#16364, catch errstate warnings (pandas-dev#16373) DOC: new oauth token TST: Add test for clip-na (pandas-dev#16369) ENH: Draft metadata specification doc for Apache Parquet (pandas-dev#16315) MAINT: Add .iml to .gitignore (pandas-dev#16368) BUG/API: Categorical constructor scalar categories (pandas-dev#16340) ENH: Provide dict object for to_dict() pandas-dev#16122 (pandas-dev#16220) PERF: improved clip performance (pandas-dev#16364) DOC: try new token for docs DOC: try with new secure token DOC: add developer section to the docs DEPS: Drop Python 3.4 support (pandas-dev#16303) DOC: remove credential helper DOC: force fetch on build docs DOC: redo dev docs access token DOC: add dataframe construction in merge_asof example (pandas-dev#16348) ...
* BUG: Categorical constructor scalar categories Categorical constructor no longer accepts scalars for categories. Closes pandas-dev#16022
* BUG: Categorical constructor scalar categories Categorical constructor no longer accepts scalars for categories. Closes pandas-dev#16022
Categorical constructor no longer accepts scalars for categories.
Closes #16022