@@ -12,14 +12,14 @@ class Methods(object):
12
12
['int' , 'float' ],
13
13
['median' , 'mean' , 'max' , 'min' , 'std' , 'count' , 'skew' , 'kurt' ,
14
14
'sum' , 'corr' , 'cov' ])
15
- param_names = ['contructor ' , 'window' , 'dtype' , 'method' ]
15
+ param_names = ['constructor ' , 'window' , 'dtype' , 'method' ]
16
16
17
- def setup (self , contructor , window , dtype , method ):
17
+ def setup (self , constructor , window , dtype , method ):
18
18
N = 10 ** 5
19
19
arr = np .random .random (N ).astype (dtype )
20
- self .roll = getattr (pd , contructor )(arr ).rolling (window )
20
+ self .roll = getattr (pd , constructor )(arr ).rolling (window )
21
21
22
- def time_rolling (self , contructor , window , dtype , method ):
22
+ def time_rolling (self , constructor , window , dtype , method ):
23
23
getattr (self .roll , method )()
24
24
25
25
@@ -30,12 +30,12 @@ class Quantile(object):
30
30
[10 , 1000 ],
31
31
['int' , 'float' ],
32
32
[0 , 0.5 , 1 ])
33
- param_names = ['contructor ' , 'window' , 'dtype' , 'percentile' ]
33
+ param_names = ['constructor ' , 'window' , 'dtype' , 'percentile' ]
34
34
35
- def setup (self , contructor , window , dtype , percentile ):
35
+ def setup (self , constructor , window , dtype , percentile ):
36
36
N = 10 ** 5
37
37
arr = np .random .random (N ).astype (dtype )
38
- self .roll = getattr (pd , contructor )(arr ).rolling (window )
38
+ self .roll = getattr (pd , constructor )(arr ).rolling (window )
39
39
40
- def time_quantile (self , contructor , window , dtype , percentile ):
40
+ def time_quantile (self , constructor , window , dtype , percentile ):
41
41
self .roll .quantile (percentile )
0 commit comments