Skip to content

Commit e6aa14e

Browse files
sgowris2TomAugspurger
authored andcommitted
Typo in error message (pandas-dev#17817)
1 parent 7db7f82 commit e6aa14e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/window.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1138,8 +1138,8 @@ def _validate_freq(self):
11381138
try:
11391139
return to_offset(self.window)
11401140
except (TypeError, ValueError):
1141-
raise ValueError("passed window {0} in not "
1142-
"compat with a datetimelike "
1141+
raise ValueError("passed window {0} is not "
1142+
"compatible with a datetimelike "
11431143
"index".format(self.window))
11441144

11451145
_agg_doc = dedent("""

0 commit comments

Comments
 (0)