Skip to content

Commit

Permalink
BENCH: Fix makeCategoricalIndex (#46433)
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke authored Mar 19, 2022
1 parent a875c23 commit 567fb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asv_bench/benchmarks/categoricals.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def time_remove_categories(self):
class Rank:
def setup(self):
N = 10**5
ncats = 20
ncats = 15

self.s_str = pd.Series(tm.makeCategoricalIndex(N, ncats)).astype(str)
self.s_str_cat = pd.Series(self.s_str, dtype="category")
Expand Down

0 comments on commit 567fb55

Please sign in to comment.