-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
IndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselvesPerformanceMemory or execution speed performanceMemory or execution speed performanceRegressionFunctionality that used to work in a prior pandas versionFunctionality that used to work in a prior pandas versionTimedeltaTimedelta data typeTimedelta data type
Milestone
Description
Setup:
index = pd.timedelta_range(start="1985", periods=1000, freq="D")
timedelta = index[500]
%timeit index.get_loc(timedelta)
# master
7.39 µs ± 78.9 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
# 1.0.3
2.82 µs ± 13.5 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
Happened somewhere between May 11 and May 27 (the gap in the benchmarks)
Metadata
Metadata
Assignees
Labels
IndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselvesPerformanceMemory or execution speed performanceMemory or execution speed performanceRegressionFunctionality that used to work in a prior pandas versionFunctionality that used to work in a prior pandas versionTimedeltaTimedelta data typeTimedelta data type