issues: 156591025
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
156591025 | MDU6SXNzdWUxNTY1OTEwMjU= | 859 | BUG: Rolling on Dataset | 5635139 | closed | 0 | 7 | 2016-05-24T19:35:32Z | 2017-03-31T03:10:45Z | 2017-03-31T03:10:45Z | MEMBER | This looks like it's available with ``` python In [13]: xr.DataArray(np.random.rand(10,3)).to_dataset('dim_1').rolling AttributeError Traceback (most recent call last) <ipython-input-13-438d3638a0d0> in <module>() ----> 1 xr.DataArray(np.random.rand(10,3)).to_dataset('dim_1').rolling /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/xarray/core/common.py in getattr(self, name) 135 return source[name] 136 raise AttributeError("%r object has no attribute %r" % --> 137 (type(self).name, name)) 138 139 def setattr(self, name, value): AttributeError: 'Dataset' object has no attribute 'rolling' ``` I think this could be easy to implement as an Also, as a very narrow point, I'm not sure why Finally, the Rolling implementation is pretty sweet. I've been getting my hands dirty in the pandas one recently, and that we can have something as well featured as that with so few lines of code 👍 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/859/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |