Skip to content

DateRange.union speed shortcuts don't work in some cases #178

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

Closed
wesm opened this issue Sep 27, 2011 · 0 comments
Closed

DateRange.union speed shortcuts don't work in some cases #178

wesm opened this issue Sep 27, 2011 · 0 comments
Milestone

Comments

@wesm
Copy link
Member

wesm commented Sep 27, 2011

Not good:

In [15]: rng = DateRange('1/1/2000', periods=100000, offset=datetools.Minute())

In [16]: timeit rng.union(rng[:-1])
10 loops, best of 3: 93.9 ms per loop

In [17]: timeit rng.intersection(rng[:-1])
100 loops, best of 3: 12.2 ms per loop
wesm added a commit that referenced this issue Oct 1, 2011
@wesm wesm closed this as completed Oct 1, 2011
dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant