We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bcfd57 commit 1c5a2abCopy full SHA for 1c5a2ab
asv_bench/benchmarks/period.py
@@ -0,0 +1,9 @@
1
+from pandas import Period, PeriodIndex, date_range
2
+
3
4
+class create_period_index_from_date_range(object):
5
+ goal_time = 0.2
6
7
+ def time_period_index(self):
8
+ # Simulate irregular PeriodIndex
9
+ PeriodIndex(date_range('1985', periods=10000).to_pydatetime(), freq='D')
0 commit comments