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

Method setup

asv_bench/benchmarks/algorithms.py:201–204  ·  view source on GitHub ↗
(self, N)

Source from the content-addressed store, hash-verified

199 params = [10**3, 10**5]
200
201 def setup(self, N):
202 data = np.arange(N, dtype=float).astype(object)
203 data[40] = pd.NA
204 self.array = pd.array(data, dtype="Int64")
205
206 def time_argsort(self, N):
207 self.array.argsort()

Callers

nothing calls this directly

Calls 2

astypeMethod · 0.45
arrayMethod · 0.45

Tested by

no test coverage detected