We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96f25f9 commit e09dd99Copy full SHA for e09dd99
vb_suite/reindex.py
@@ -57,6 +57,7 @@
57
58
ts = Series(np.random.randn(len(rng)), index=rng)
59
ts2 = ts[::2]
60
+ts3 = ts2.reindex(ts.index)
61
62
def pad():
63
try:
@@ -78,3 +79,8 @@ def backfill():
78
79
reindex_daterange_backfill = Benchmark(statement, setup,
80
name="reindex_daterange_backfill")
81
82
+reindex_fillna_pad = Benchmark("ts3.fillna(method='pad')", setup,
83
+ name="reindex_fillna_pad")
84
+
85
+reindex_fillna_backfill = Benchmark("ts3.fillna(method='backfill')", setup,
86
+ name="reindex_fillna_backfill")
0 commit comments