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
  • Loading branch information
qwhelan committed Jan 25, 2019
1 parent 5761e35 commit bcc4d13
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 bcc4d13

Please sign in to comment.