issues
1 row where state = "open" and user = 11411331 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
692106936 | MDU6SXNzdWU2OTIxMDY5MzY= | 4404 | Documentation on tuple-type data in DataArrays | kmpaul 11411331 | open | 0 | 2 | 2020-09-03T16:18:04Z | 2020-12-07T19:07:01Z | CONTRIBUTOR | The Problem:When you try to construct an ```python
ValueError Traceback (most recent call last) <ipython-input-17-11434cd9277e> in <module> ----> 1 xr.DataArray((7,9,3), coords=[[1,2,3]], dims=['i']) ~/Software/miniconda3/envs/pangeo/lib/python3.8/site-packages/xarray/core/dataarray.py in init(self, data, coords, dims, name, attrs, indexes, fastpath) 341 data = _check_data_shape(data, coords, dims) 342 data = as_compatible_data(data) --> 343 coords, dims = _infer_coords_and_dims(data.shape, coords, dims) 344 variable = Variable(dims, data, attrs, fastpath=True) 345 indexes = dict( ~/Software/miniconda3/envs/pangeo/lib/python3.8/site-packages/xarray/core/dataarray.py in _infer_coords_and_dims(shape, coords, dims) 92 and len(coords) != len(shape) 93 ): ---> 94 raise ValueError( 95 "coords is not dict-like, but it has %s items, " 96 "which does not match the %s dimensions of the " ValueError: coords is not dict-like, but it has 1 items, which does not match the 0 dimensions of the data ``` This error message is not helpful, nor does it direct the user to the solution to their problem (which is to just convert the If the user were to learn that the reason this happened was because
suggesting that a
which states that Acceptable Solutions:
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/4404/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
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]);