issues
6 rows where type = "issue" and user = 5572303 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: comments, created_at (date), updated_at (date), closed_at (date)
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
182667672 | MDU6SXNzdWUxODI2Njc2NzI= | 1046 | center=True for xarray.DataArray.rolling() | chunweiyuan 5572303 | open | 0 | 8 | 2016-10-13T00:37:25Z | 2024-04-04T21:06:57Z | CONTRIBUTOR | The logic behind setting center=True confuses me. Say window size = 3. The default behavior (center=False) sets the window to go from i-2 to i, so I would've expected center=True to set the window from i-1 to i+1. But that's not what I see. For example, this is what data looks like: ```
Coordinates: * x (x) |S1 'a' 'b' 'c' * y (y) int64 -2 0 2 * z (z) int64 0 1 2 ``` Now, if I set y-window size = 3, center = False, min # of entries = 1, I get ```
Coordinates: * x (x) |S1 'a' 'b' 'c' * y (y) int64 -2 0 2 * z (z) int64 0 1 2 ``` Which essentially gives me a "trailing window" of size 3, meaning the window goes from i-2 to i. This is not explained in the doc but can be understood empirically. On the other hand, setting center = True gives ```
Coordinates: * x (x) |S1 'a' 'b' 'c' * y (y) int64 -2 0 2 * z (z) int64 0 1 2 ``` In other words, it just pushes every cell up the y-dim by 1, using nan to represent things coming off the edge of the universe. If you look at _center_result() of xarray/core/rolling.py, that's exactly what it does with .shift(). I would've expected center=True to change the window to go from i-1 to i+1. In which case, with min_periods=1, would not render any nan value in r.mean(). Could someone explain the logical flow to me? Much obliged, Chun |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/1046/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | issue | ||||||||
230529125 | MDU6SXNzdWUyMzA1MjkxMjU= | 1420 | .equals() on a coordinate takes attributes into comparison | chunweiyuan 5572303 | closed | 0 | 6 | 2017-05-22T21:48:44Z | 2019-05-23T03:11:33Z | 2019-05-23T03:11:33Z | CONTRIBUTOR | Is the following the right behavior? ```
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/1420/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
221366244 | MDU6SXNzdWUyMjEzNjYyNDQ= | 1371 | Weighted quantile | chunweiyuan 5572303 | open | 0 | 8 | 2017-04-12T19:29:04Z | 2019-03-20T22:34:22Z | CONTRIBUTOR | For our work we frequently need to compute weighted quantiles. This is especially important when we need to weigh data from recent years more heavily in making predictions. I've put together a function (called When all weights = 1, it's identical to using
Now different weights: ```
Also handles nan values like
Coordinates: * x (x) |S1 'a' 'b' * y (y) int64 0 1 * z (z) int64 8 9
Lastly, different interpolation schemes are consistent: ```
We wonder if it's ok to make this part of xarray. If so, the most logical place to implement it would seem to be in |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/1371/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
xarray 13221727 | issue | ||||||||
185017914 | MDU6SXNzdWUxODUwMTc5MTQ= | 1059 | kwarg defaults (join="inner") for DataArray._binary_ops() | chunweiyuan 5572303 | closed | 0 | 5 | 2016-10-25T04:45:28Z | 2019-01-25T16:50:56Z | 2019-01-25T16:50:56Z | CONTRIBUTOR | Currently the default is join="inner". However, there can be applications where the majority of binary operations require join="outer", not "inner". Would it be advisable to place these default values in some config object the user can set at the beginning of the run script? Or perhaps one already exists but I've failed to locate it. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/1059/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
186036077 | MDU6SXNzdWUxODYwMzYwNzc= | 1067 | Indexing turns 1D coordinates into scalar coordinates | chunweiyuan 5572303 | closed | 0 | 1 | 2016-10-28T22:29:41Z | 2019-01-22T19:22:17Z | 2019-01-22T19:22:17Z | CONTRIBUTOR | Starting with
This will drop the index on x:
but this won't:
While the laymen would expect them both to return the same thing. Is there a reason to this design choice, or could I file a PR for it? |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/1067/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue | ||||||
186680248 | MDU6SXNzdWUxODY2ODAyNDg= | 1072 | Allow concat() to drop/replace duplicate index labels? | chunweiyuan 5572303 | closed | 0 | 26 | 2016-11-01T23:59:56Z | 2017-01-23T22:41:22Z | 2017-01-23T22:41:22Z | CONTRIBUTOR | Right now, ```
Would it be OK to introduce a kwarg ("replace"?) that replaces cells of identical coordinates from right to left? That would render ```
Some people might even want to drop all cells with coordinate collisions (probably not us). If that's the case then the kwarg would be ternary..... |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/1072/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | xarray 13221727 | issue |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issues] ( [id] INTEGER PRIMARY KEY, [node_id] TEXT, [number] INTEGER, [title] TEXT, [user] INTEGER REFERENCES [users]([id]), [state] TEXT, [locked] INTEGER, [assignee] INTEGER REFERENCES [users]([id]), [milestone] INTEGER REFERENCES [milestones]([id]), [comments] INTEGER, [created_at] TEXT, [updated_at] TEXT, [closed_at] TEXT, [author_association] TEXT, [active_lock_reason] TEXT, [draft] INTEGER, [pull_request] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [state_reason] TEXT, [repo] INTEGER REFERENCES [repos]([id]), [type] TEXT ); CREATE INDEX [idx_issues_repo] ON [issues] ([repo]); CREATE INDEX [idx_issues_milestone] ON [issues] ([milestone]); CREATE INDEX [idx_issues_assignee] ON [issues] ([assignee]); CREATE INDEX [idx_issues_user] ON [issues] ([user]);