MCPcopy
hub / github.com/pandas-dev/pandas / setup

Method setup

asv_bench/benchmarks/groupby.py:1052–1059  ·  view source on GitHub ↗
(self, parallel)

Source from the content-addressed store, hash-verified

1050 params = [[True, False]]
1051
1052 def setup(self, parallel):
1053 N = 10**3
1054 data = DataFrame(
1055 {0: [str(i) for i in range(100)] * N, 1: list(range(100)) * N},
1056 columns=[0, 1],
1057 )
1058 self.parallel = parallel
1059 self.grouper = data.groupby(0)
1060
1061 def time_series_numba(self, parallel):
1062 def function(values, index):

Callers

nothing calls this directly

Calls 2

groupbyMethod · 0.95
DataFrameClass · 0.90

Tested by

no test coverage detected