We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7db7f82 commit e6aa14eCopy full SHA for e6aa14e
pandas/core/window.py
@@ -1138,8 +1138,8 @@ def _validate_freq(self):
1138
try:
1139
return to_offset(self.window)
1140
except (TypeError, ValueError):
1141
- raise ValueError("passed window {0} in not "
1142
- "compat with a datetimelike "
+ raise ValueError("passed window {0} is not "
+ "compatible with a datetimelike "
1143
"index".format(self.window))
1144
1145
_agg_doc = dedent("""
0 commit comments