-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH/ERR: More consistent error reporting with invalid win_type in rolling #38641
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
Conversation
thanks @mroeschke |
@mroeschke this seems to have broken dask (this PR, or one of the other recent rolling-related PRs, but from a quick look at the diff, I suspect this one) AFAIU, the issue is that the |
Gotcha, do you have a reference issue how dask was using |
Not yet opened an issue about it, but so this is the code where it is failing: https://github.com/dask/dask/blob/4a7a2438219c4ee493434042e50f4cdb67b6ec9f/dask/dataframe/rolling.py#L317-L326. So basically they used The failure it is causing is eg https://github.com/dask/dask/runs/1644840945#step:5:4998 |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
Also in-lining methods that were only used once and moving a BaseIndexer test that was using
win_type