(self, how)
| 315 | param_names = ["how"] |
| 316 | |
| 317 | def setup(self, how): |
| 318 | low, high, n = -1000, 1000, 10**6 |
| 319 | self.left = DataFrame( |
| 320 | np.random.randint(low, high, (n, 7)), columns=list("ABCDEFG") |
| 321 | ) |
| 322 | self.left["left"] = self.left.sum(axis=1) |
| 323 | self.right = self.left.sample(frac=1).rename({"left": "right"}, axis=1) |
| 324 | self.right = self.right.reset_index(drop=True) |
| 325 | self.right["right"] *= -1 |
| 326 | |
| 327 | def time_i8merge(self, how): |
| 328 | merge(self.left, self.right, how=how) |
nothing calls this directly
no test coverage detected