-
-
Couldn't load subscription status.
- Fork 19.2k
STY: use strict zip in pandas/tests/window
#62852
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
base: main
Are you sure you want to change the base?
Conversation
654e2c2 to
20f9d14
Compare
20f9d14 to
b8a0fc9
Compare
2270859 to
8dcd766
Compare
8dcd766 to
a7be4e2
Compare
| expecteds = [DataFrame(values, index=index) for (values, index) in expected] | ||
|
|
||
| for expected, actual in zip(expecteds, df.expanding(min_periods)): | ||
| for expected, actual in zip(expecteds, df.expanding(min_periods), strict=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this False?
|
|
||
| for expected, actual in zip(expecteds, df.rolling(window, min_periods=min_periods)): | ||
| for expected, actual in zip( | ||
| expecteds, df.rolling(window, min_periods=min_periods), strict=False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this False?
| DataFrame(values, index=df.loc[index, "C"]) for (values, index) in expected | ||
| ] | ||
| for expected, actual in zip(expecteds, df.rolling(window, on="C")): | ||
| for expected, actual in zip(expecteds, df.rolling(window, on="C"), strict=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this False?
doc/source/whatsnew/vX.X.X.rstfile if fixing a bug or adding a new feature.