Skip to content

Commit 3e26baa

Browse files
consistent dtype naming in benchmark
1 parent 1761a84 commit 3e26baa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

asv_bench/benchmarks/algorithms.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Factorize:
2323
"int",
2424
"uint",
2525
"float",
26-
"string",
26+
"object",
2727
"datetime64[ns]",
2828
"datetime64[ns, tz]",
2929
"Int64",
@@ -47,7 +47,7 @@ def setup(self, unique, sort, dtype):
4747
"int": pd.Int64Index(np.arange(N)),
4848
"uint": pd.UInt64Index(np.arange(N)),
4949
"float": pd.Float64Index(np.random.randn(N)),
50-
"string": string_index,
50+
"object": string_index,
5151
"datetime64[ns]": pd.date_range("2011-01-01", freq="H", periods=N),
5252
"datetime64[ns, tz]": pd.date_range(
5353
"2011-01-01", freq="H", periods=N, tz="Asia/Tokyo"

0 commit comments

Comments
 (0)