Skip to content

Conversation

@jbusecke
Copy link

@jbusecke jbusecke commented Dec 9, 2020

@jbusecke jbusecke changed the title Added tests with resample+weighted, partially failing Fixing non-lazy behavior of sampled+weighted Dec 9, 2020
Copy link
Collaborator

@mathause mathause left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. You added the @requires_cftime to the wrong test.

@jbusecke
Copy link
Author

Oops. Thanks for catching that. Should be fixed now.

@mathause
Copy link
Collaborator

👍 do you wan't to add a what's new entry? In any case we can merge this in a few days unless someone else has a comment.

@jbusecke
Copy link
Author

do you wan't to add a what's new entry? In any case we can merge this in a few days unless someone else has a comment.

Not sure. Would you think that this is significant enough? If yes, Id be happy to do it.

@mathause
Copy link
Collaborator

Up to you. Maybe under internal changes.

@keewis
Copy link
Collaborator

keewis commented Dec 14, 2020

I think #4625 is a bug, so "bug fixes" would probably be better

Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
Copy link
Contributor

@dcherian dcherian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @jbusecke

It'd be nice to understand why dask was making a deep copy, but the fix looks good.

@jbusecke
Copy link
Author

Thanks for all the help! I made the entry to whats-new.rst.

@dcherian dcherian merged commit 778a16e into pydata:master Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non lazy behavior for weighted average when using resampled data

4 participants