@@ -44,9 +44,9 @@ def setup(self, unique, sort, dtype):
44
44
raise NotImplementedError
45
45
46
46
data = {
47
- "int" : pd .Int64Index (np .arange (N )),
48
- "uint" : pd .UInt64Index (np .arange (N )),
49
- "float" : pd .Float64Index (np .random .randn (N )),
47
+ "int" : pd .Index (np .arange (N ), dtype = "int64" ),
48
+ "uint" : pd .Index (np .arange (N ), dtype = "uint64" ),
49
+ "float" : pd .Index (np .random .randn (N ), dtype = "float64" ),
50
50
"object" : string_index ,
51
51
"datetime64[ns]" : pd .date_range ("2011-01-01" , freq = "H" , periods = N ),
52
52
"datetime64[ns, tz]" : pd .date_range (
@@ -76,9 +76,9 @@ class Duplicated:
76
76
def setup (self , unique , keep , dtype ):
77
77
N = 10 ** 5
78
78
data = {
79
- "int" : pd .Int64Index (np .arange (N )),
80
- "uint" : pd .UInt64Index (np .arange (N )),
81
- "float" : pd .Float64Index (np .random .randn (N )),
79
+ "int" : pd .Index (np .arange (N ), dtype = "int64" ),
80
+ "uint" : pd .Index (np .arange (N ), dtype = "uint64" ),
81
+ "float" : pd .Index (np .random .randn (N ), dtype = "float64" ),
82
82
"string" : tm .makeStringIndex (N ),
83
83
"datetime64[ns]" : pd .date_range ("2011-01-01" , freq = "H" , periods = N ),
84
84
"datetime64[ns, tz]" : pd .date_range (
0 commit comments