Skip to content

BUG: GH10885 where an edge case in date_range produces an extra point #10887

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
Aug 24, 2015

Conversation

kawochen
Copy link
Contributor

closes #10885

@jreback jreback added Bug Datetime Datetime data dtype labels Aug 22, 2015
@jreback jreback added this to the 0.17.0 milestone Aug 22, 2015
@jreback
Copy link
Contributor

jreback commented Aug 22, 2015

lgtm ping when green.

@kawochen
Copy link
Contributor Author

Updated. Had to change a little because of a possible bug in numpy.

 In [14]: len(numpy.arange(0, 10000000000000001, 100000000000000))
Out[14]: 101

In [15]: len(numpy.arange(0, 100000000000000000001, 1000000000000000000))
Out[15]: 100

jreback added a commit that referenced this pull request Aug 24, 2015
BUG: GH10885 where an edge case in date_range produces an extra point
@jreback jreback merged commit 6b48b58 into pandas-dev:master Aug 24, 2015
@jreback
Copy link
Contributor

jreback commented Aug 24, 2015

thanks

might want to report that to numpy - looks like an unhandled overflow issue

@kawochen
Copy link
Contributor Author

for reference: numpy/numpy#6238

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

Successfully merging this pull request may close these issues.

BUG: pd.date_range(...) produces timestamps outside the specified range
2 participants