issue_comments
2 rows where author_association = "CONTRIBUTOR" and issue = 1370063272 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Inconsistent behavior between `DatasetRolling.construct` and `DataArrayRolling.construct` with stride > 1. · 2 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1452521051 | https://github.com/pydata/xarray/issues/7021#issuecomment-1452521051 | https://api.github.com/repos/pydata/xarray/issues/7021 | IC_kwDOAMm_X85Wk7Zb | p4perf4ce 39671216 | 2023-03-02T20:47:11Z | 2023-03-02T20:47:11Z | CONTRIBUTOR | Been half a year and I found myself stuck at this inconsistent behavior again. Another problem I found but haven't mentioned yet is that This time, I've actually identified a cause for this problem below:
I currently still can't figure it out what is the original intention that SolutionRemoving Test case
Dimensions without coordinates: a, b, window_dim
trd.rolling(b=2).construct('window_dim', stride=2)[0]
Dimensions without coordinates: a, b, window_dim ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Inconsistent behavior between `DatasetRolling.construct` and `DataArrayRolling.construct` with stride > 1. 1370063272 | |
1244634332 | https://github.com/pydata/xarray/issues/7021#issuecomment-1244634332 | https://api.github.com/repos/pydata/xarray/issues/7021 | IC_kwDOAMm_X85KL5zc | p4perf4ce 39671216 | 2022-09-12T22:39:35Z | 2022-09-12T22:42:11Z | CONTRIBUTOR |
Thanks for the response, here is a straightforward example.
I had a hunch that the problem come from this part - not quite sure what self._mapping_to_list did here, haven't look it up yet. https://github.com/pydata/xarray/blob/b018442c8dfa3e71ec35e294de69e2011949afec/xarray/core/rolling.py#L764-L772 Since I only had one dimension to deal with, removing this loop solves the problem for me. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Inconsistent behavior between `DatasetRolling.construct` and `DataArrayRolling.construct` with stride > 1. 1370063272 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [issue] INTEGER REFERENCES [issues]([id]) ); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 1