-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
resample() with how=count causes Segmentation Fault #10228
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
Comments
Probably related: #8573 |
yep, looks like a bug. pull-requests are welcome. |
@kelvin22, great bug report! Very easy to reproduce. |
Garrett-R
added a commit
to Garrett-R/pandas
that referenced
this issue
Jun 18, 2015
jreback
pushed a commit
that referenced
this issue
Jun 26, 2015
closed by #10337 |
yarikoptic
added a commit
to neurodebian/pandas
that referenced
this issue
Jul 2, 2015
* commit 'v0.16.2-49-g3908ad5': DOC: release note for pandas-dev#9607, as_blocks copy arg ENH: allow as_blocks to take a copy argument (pandas-dev#9607) BUG: pandas-dev#10228 resampling empty Series caused segfaults BUG #GH10425 test_categorical big-endian fix BUG: xref pandas-dev#10428, need platform_int as indexer ENH: GH10378 Pass kwargs to interpolation methods.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Runing the code as is below results in a segmentation fault when it gets to resample()
The first pass runs, and then either the 2nd or 3rd run produces:
Segmentation fault: 11
It happens on:
It does not happen on:
Those are the only ones I've tested
Setting how=sum also does not result in the issue.
It only happens after the frame has been selected with a parameter that doesn't work, resulting in an empty series.
Eg. this works fine:
The text was updated successfully, but these errors were encountered: