-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: iloc misbehavior with pd.Series: sometimes returns pd.Categorical instead #14580
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
Labels
Bug
Categorical
Categorical Data Type
Indexing
Related to indexing on series/frames, not to indexes themselves
Milestone
Comments
in 0.19.0
could be #12531 (in 0.18.1) or in 0.19.0 |
actually, I stand corrected. This is a different treatment of slices vs list-like
|
nathalier
added a commit
to nathalier/pandas
that referenced
this issue
Nov 12, 2016
Before, iloc on pd.Series returned Categorical object for list-like indexes input, while Series object is expected. Fixes pandas-dev#14580
nathalier
added a commit
to nathalier/pandas
that referenced
this issue
Nov 12, 2016
Add test to verify type of returned value of iloc() Series of Categorical data.
nathalier
added a commit
to nathalier/pandas
that referenced
this issue
Nov 12, 2016
Add test to verify type of returned value of iloc() Series of Categorical data.
4 tasks
nathalier
added a commit
to nathalier/pandas
that referenced
this issue
Nov 13, 2016
Add test to verify type of returned value of iloc() Series of Categorical data.
nathalier
added a commit
to nathalier/pandas
that referenced
this issue
Nov 20, 2016
Before, iloc on pd.Series returned Categorical object for list-like indexes input, while Series object is expected. Fixes pandas-dev#14580
nathalier
added a commit
to nathalier/pandas
that referenced
this issue
Nov 20, 2016
Add test to verify type of returned value of iloc() Series of Categorical data.
nathalier
added a commit
to nathalier/pandas
that referenced
this issue
Nov 20, 2016
Add test to verify type of returned value of iloc() Series of Categorical data.
nathalier
added a commit
to nathalier/pandas
that referenced
this issue
Dec 18, 2016
Before, iloc on pd.Series returned Categorical object for list-like indexes input, while Series object is expected. Fixes pandas-dev#14580
nathalier
added a commit
to nathalier/pandas
that referenced
this issue
Dec 18, 2016
Add test to verify type of returned value of iloc() Series of Categorical data.
nathalier
added a commit
to nathalier/pandas
that referenced
this issue
Dec 18, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
Categorical
Categorical Data Type
Indexing
Related to indexing on series/frames, not to indexes themselves
A small, complete example of the issue
Expected Output
Both should return a pandas Series object
Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: