(self, monotonic)
| 239 | param_names = ["monotonic"] |
| 240 | |
| 241 | def setup(self, monotonic): |
| 242 | N = 10**5 |
| 243 | idx = date_range(start="1/1/2000", periods=N, freq="s") |
| 244 | self.s = Series(np.random.randn(N), index=idx) |
| 245 | if not monotonic: |
| 246 | self.s = self.s.sample(frac=1) |
| 247 | |
| 248 | def time_sort_index(self, monotonic): |
| 249 | self.s.sort_index() |
nothing calls this directly
no test coverage detected