Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix 4 lgtm alerts #16881

Merged
merged 1 commit into from
Jul 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions asv_bench/benchmarks/rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def time_rolling_quantile_median(self):
def time_rolling_median(self):
(self.df.rolling(self.wins).median())

def time_rolling_median(self):
def time_rolling_mean(self):
(self.df.rolling(self.wins).mean())

def time_rolling_max(self):
Expand Down Expand Up @@ -68,7 +68,7 @@ def time_rolling_quantile_median_l(self):
def time_rolling_median_l(self):
(self.df.rolling(self.winl).median())

def time_rolling_median_l(self):
def time_rolling_mean_l(self):
(self.df.rolling(self.winl).mean())

def time_rolling_max_l(self):
Expand Down Expand Up @@ -118,7 +118,7 @@ def time_rolling_quantile_median(self):
def time_rolling_median(self):
(self.sr.rolling(self.wins).median())

def time_rolling_median(self):
def time_rolling_mean(self):
(self.sr.rolling(self.wins).mean())

def time_rolling_max(self):
Expand Down Expand Up @@ -160,7 +160,7 @@ def time_rolling_quantile_median_l(self):
def time_rolling_median_l(self):
(self.sr.rolling(self.winl).median())

def time_rolling_median_l(self):
def time_rolling_mean_l(self):
(self.sr.rolling(self.winl).mean())

def time_rolling_max_l(self):
Expand Down