Skip to content
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: allow cumprod and cumsum to work with bool dtypes #4440

Merged
merged 1 commit into from
Aug 7, 2013
Merged

BUG: allow cumprod and cumsum to work with bool dtypes #4440

merged 1 commit into from
Aug 7, 2013

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Aug 2, 2013

closes #4170.

@ghost ghost assigned cpcloud Aug 2, 2013
'cummin': cummin, 'cummax': cummax}
args = product((a, b, c, d), methods)
for s, method in args:
expected = Series(methods[method](b.values))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be s (rather than b)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doh thanks!

@cpcloud
Copy link
Member Author

cpcloud commented Aug 7, 2013

@jreback this ok 2 merge?

@jreback
Copy link
Contributor

jreback commented Aug 7, 2013

release notes?

@cpcloud
Copy link
Member Author

cpcloud commented Aug 7, 2013

whoops thanks

hayd added a commit that referenced this pull request Aug 7, 2013
BUG: allow cumprod and cumsum to work with bool dtypes
@hayd hayd merged commit 3841ae6 into pandas-dev:master Aug 7, 2013
@hayd
Copy link
Contributor

hayd commented Aug 7, 2013

boom!

Awesome, will make a new issue for inserting nans into int/bool Series (if there isn't already), a la #4170.

@cpcloud cpcloud deleted the fix-cumsum-bool branch August 7, 2013 20:23
@cpcloud
Copy link
Member Author

cpcloud commented Aug 7, 2013

thanks @hayd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API: boolean dtype upsets cumsum
3 participants