Skip to content

Commit

Permalink
CLN: fix typo in asv benchmark of non_unique_sorted, which was not so…
Browse files Browse the repository at this point in the history
…rted (#24917)
  • Loading branch information
qwhelan authored and TomAugspurger committed Jan 25, 2019
1 parent 5761e35 commit 539c54f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion asv_bench/benchmarks/index_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ def setup(self, dtype):
self.sorted = self.idx.sort_values()
half = N // 2
self.non_unique = self.idx[:half].append(self.idx[:half])
self.non_unique_sorted = self.sorted[:half].append(self.sorted[:half])
self.non_unique_sorted = (self.sorted[:half].append(self.sorted[:half])
.sort_values())
self.key = self.sorted[N // 4]

def time_boolean_array(self, dtype):
Expand Down

0 comments on commit 539c54f

Please sign in to comment.