Skip to content
Prev Previous commit
Next Next commit
Lint
  • Loading branch information
Matt Roeschke committed Mar 27, 2020
commit c92d86d2e21bf33cc731ecb8e839d956ca406d80
4 changes: 2 additions & 2 deletions pandas/core/window/rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ def _get_window_indexer(
if isinstance(self.window, BaseIndexer):
if isinstance(func_name, str) and func_name not in BASEINDEXER_WHITELIST:
raise NotImplementedError(
f"{func_name} is not supported with using a BaseIndexer subclasses. "
f"You can use .apply() with {func_name}."
f"{func_name} is not supported with using a BaseIndexer "
f"subclasses. You can use .apply() with {func_name}."
)
return self.window
if self.is_freq_type:
Expand Down