Uh oh!
There was an error while loading. Please reload this page.
rolling_exp (nee ewm) - #2650
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
shoyer
commented
Jan 6, 2019
I know the name |
shoyer
commented
Jan 6, 2019
Before we add even an optional dependency on numbagg in xarray, we should probably do a bit of cleanup (e.g., making sure we're happy with its public interface, and putting a release up on pypi) |
max-sixty
commented
Jan 7, 2019
👍
Yes, that works. I'm fairly balanced between them - others' thoughts? |
fujiisoup
commented
Jan 8, 2019
I like BTW, does |
shoyer
commented
Jan 8, 2019
I would lean towards a dedicated method, since there are method specific options. It's pretty awkward to reuse a single interface for that. |
max-sixty
commented
Jan 8, 2019
Index, currently. Would be great to have an algo that dealt with coord value, and I think not too difficult |
max-sixty
commented
Jan 13, 2019
Tests seem to be failing on a different issue? https://travis-ci.org/pydata/xarray/jobs/479042667#L7759 |
shoyer
commented
Jan 13, 2019
via email
see #2669 for the tests issue …On Sun, Jan 13, 2019 at 6:12 PM Maximilian Roos ***@***.***> wrote:
Tests seem to be failing on a different issue?
https://travis-ci.org/pydata/xarray/jobs/479042667#L7759
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2650 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABKS1qKW-0elts0N53ojvQWe1oO3PoRIks5vC1rrgaJpZM4Zt5Sw>
.
|
I think this is in a reasonable state for DataArray, excluding docs. Let me know any feedback on the APi Does anyone have a view on the canonical way to implement these for Dataset, given potentially only a subset of the variables will have the dimension? |
shoyer
commented
Jan 14, 2019
You could probably copy the logic from |
max-sixty
commented
Jan 14, 2019
The error is when applying over a dimension on a dataset where only some of the variables have the dimension; e.g. applying over <xarray.Dataset>Dimensions: (time: 10, x: 8, y: 2)
Coordinates:
*x (x) float640.00.14290.28570.42860.57140.71430.85711.0*time (time) float640.00.11110.22220.3333 ... 0.77780.88891.0c (y) <U1'a''b'*y (y) int6401Datavariables:
z1 (y, x) float64-0.1035-0.8153-1.583 ... 1.4470.7768-0.2699z2 (time, y) float640.9680.7156-1.64 ... 0.1889-1.1420.7172...rather than any issues applying on If it's helpful to add that functionality directly to |
fujiisoup
commented
Jan 14, 2019
I remember I faced the same issue in implementing
I think it would make the code much cleaner at least for these methods. |
max-sixty
commented
Jan 15, 2019
I made an attempt to add the "skip variables without the dimension" to I may be missing something - let me know if there's an reasonable approach Otherwise I'll do the close thing for this PR, and potentially we can have a look at the general solution later |
Uh oh!
There was an error while loading. Please reload this page.
max-sixty
commented
Jun 10, 2019
This is updated! Could put an "Experimental" label on if we want (or maybe that's implicit). Let me know any final changes. Will be good to get this merged at last. |
# Conflicts: # xarray/tests/__init__.py # xarray/tests/test_dataset.py
max-sixty
commented
Jun 18, 2019
The gentlest of reminders that I think this is ready to merge (mea culpa for leaving it at 90% for so long) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello @max-sixty! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2019-06-24 03:44:56 UTC |
max-sixty
commented
Jun 21, 2019
Great - updated! Let me know any final comments! |
Uh oh!
There was an error while loading. Please reload this page.
max-sixty
commented
Jun 24, 2019
Updated! Let me know any final changes! |
shoyer
commented
Jun 24, 2019
OK, in it goes. Thanks @max-sixty ! |
max-sixty
commented
Jun 24, 2019
Thanks for all the help! |
* master: (31 commits) Add quantile method to GroupBy (pydata#2828) rolling_exp (nee ewm) (pydata#2650) Ensure explicitly indexed arrays are preserved (pydata#3027) add back dask-dev tests (pydata#3025) ENH: keepdims=True for xarray reductions (pydata#3033) Revert cmap fix (pydata#3038) Add "errors" keyword argument to drop() and drop_dims() (pydata#2994) (pydata#3028) More consistency checks (pydata#2859) Check types in travis (pydata#3024) Update issue templates (pydata#3019) Add pytest markers to avoid warnings (pydata#3023) Feature/merge errormsg (pydata#2971) More support for missing_value. (pydata#2973) Use flake8 rather than pycodestyle (pydata#3010) Pandas labels deprecation (pydata#3016) Pytest capture uses match, not message (pydata#3011) dask-dev tests to allowed failures in travis (pydata#3014) Fix 'to_masked_array' computing dask arrays twice (pydata#3006) str accessor (pydata#2991) fix safe_cast_to_index (pydata#3001) ...
Uh oh!
There was an error while loading. Please reload this page.