Skip to content

BUG: cut/qcut on Series with "retbins" (GH8589) #8622

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

Merged
merged 1 commit into from
Oct 24, 2014

Conversation

rosnfeld
Copy link
Contributor

Fixes #8589.

I centralized a bit of logic into tile.py's _bins_to_cuts() so that this change could be made in one place, hope that's okay.

@jreback jreback added Bug Categorical Categorical Data Type labels Oct 24, 2014
@jreback jreback added this to the 0.15.1 milestone Oct 24, 2014
jreback added a commit that referenced this pull request Oct 24, 2014
BUG: cut/qcut on Series with "retbins" (GH8589)
@jreback jreback merged commit 2737f5a into pandas-dev:master Oct 24, 2014
@jreback
Copy link
Contributor

jreback commented Oct 24, 2014

thanks!

FYI, if you are interested in creating an Interval class would be gr8!

e.g. (-1.5,0] -> Interval(left=(-1.5,'open),right=(0,'closed'))

(which repr's to the above)!

@rosnfeld rosnfeld deleted the issue_8589 branch October 29, 2014 02:54
@jreback jreback modified the milestones: 0.15.2, 0.15.1 Oct 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Categorical Categorical Data Type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cut/qcut "retbins" broken in 0.15.0
2 participants