issue_comments
9 rows where author_association = "MEMBER" and issue = 229370997 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Multiindex scalar coords, fixes #1408 · 9 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
303984274 | https://github.com/pydata/xarray/pull/1412#issuecomment-303984274 | https://api.github.com/repos/pydata/xarray/issues/1412 | MDEyOklzc3VlQ29tbWVudDMwMzk4NDI3NA== | fujiisoup 6815844 | 2017-05-25T11:04:55Z | 2017-05-25T11:04:55Z | MEMBER | Replaced by a new PR #1426 . |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multiindex scalar coords, fixes #1408 229370997 | |
302919742 | https://github.com/pydata/xarray/pull/1412#issuecomment-302919742 | https://api.github.com/repos/pydata/xarray/issues/1412 | MDEyOklzc3VlQ29tbWVudDMwMjkxOTc0Mg== | fujiisoup 6815844 | 2017-05-21T07:13:37Z | 2017-05-21T07:13:37Z | MEMBER | @benbovy Thanks for the valuable comments. Actually I can not fully imagine how the actual implementation looks like currently, but I also think the virtual variable access needs some tricks. This is an essential functionality of the MultiIndex-coordinate, I will try to investigate it. Thanks. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multiindex scalar coords, fixes #1408 229370997 | |
302883780 | https://github.com/pydata/xarray/pull/1412#issuecomment-302883780 | https://api.github.com/repos/pydata/xarray/issues/1412 | MDEyOklzc3VlQ29tbWVudDMwMjg4Mzc4MA== | benbovy 4160723 | 2017-05-20T16:31:43Z | 2017-05-20T16:31:43Z | MEMBER | I also agree that a MultiIndex wrapper would be to be the way to go. I think I understand the diagrams, but what remains a bit unclear to me is how this could be implemented. In particular, how would this wrapper work with Currently, Would This is maybe slightly off topic, but more generally I'm also wondering how this would co-exist with potentially other kinds of multi-level indexes (see this comment). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multiindex scalar coords, fixes #1408 229370997 | |
302878939 | https://github.com/pydata/xarray/pull/1412#issuecomment-302878939 | https://api.github.com/repos/pydata/xarray/issues/1412 | MDEyOklzc3VlQ29tbWVudDMwMjg3ODkzOQ== | shoyer 1217238 | 2017-05-20T15:11:24Z | 2017-05-20T15:11:24Z | MEMBER | @fujiisoup Yes, the solution of writing a MultiIndex wrapper for xarray looks much cleaner to me. I like the look of this proposal! (Those diagrams are also very helpful) I guess this could be implemented as a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multiindex scalar coords, fixes #1408 229370997 | |
302693433 | https://github.com/pydata/xarray/pull/1412#issuecomment-302693433 | https://api.github.com/repos/pydata/xarray/issues/1412 | MDEyOklzc3VlQ29tbWVudDMwMjY5MzQzMw== | fujiisoup 6815844 | 2017-05-19T12:47:28Z | 2017-05-19T12:47:28Z | MEMBER | I also agree. It seems too magical. But I slightly changed my mind.
I notice what I really want to have is not particular scalar coordinate in MultiIndex,
but 'unified' interface between normal The current structure is illustrated as follows, The I am wondering if we could have the following class structure things become simpler In this picture, MultiIndex can have I understand it is different from Any thoughts are welcome. (Should move discussion to another issue?) |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multiindex scalar coords, fixes #1408 229370997 | |
302425186 | https://github.com/pydata/xarray/pull/1412#issuecomment-302425186 | https://api.github.com/repos/pydata/xarray/issues/1412 | MDEyOklzc3VlQ29tbWVudDMwMjQyNTE4Ng== | shoyer 1217238 | 2017-05-18T14:42:57Z | 2017-05-18T14:42:57Z | MEMBER |
Agreed, this also seems too magical to me. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multiindex scalar coords, fixes #1408 229370997 | |
302358284 | https://github.com/pydata/xarray/pull/1412#issuecomment-302358284 | https://api.github.com/repos/pydata/xarray/issues/1412 | MDEyOklzc3VlQ29tbWVudDMwMjM1ODI4NA== | benbovy 4160723 | 2017-05-18T09:56:28Z | 2017-05-18T09:58:06Z | MEMBER | A possible direction to reduce the This would simplify many things, although I haven't thought about about all other possible issues it would create (perfomance, etc.). Also, Here is another case related to this PR. From the example in the linked issue, the current behavior is
Do we want to also change the behavior to this?
To me it looks like it is a bit too magical, but just wondering what you think... |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multiindex scalar coords, fixes #1408 229370997 | |
302299557 | https://github.com/pydata/xarray/pull/1412#issuecomment-302299557 | https://api.github.com/repos/pydata/xarray/issues/1412 | MDEyOklzc3VlQ29tbWVudDMwMjI5OTU1Nw== | fujiisoup 6815844 | 2017-05-18T04:48:29Z | 2017-05-18T04:48:29Z | MEMBER | @shoyer Thanks for the comment.
I totally agree with you. In the last commit, I moved the unpacking functionality into Adding functions is easy but simplifying them are difficult... If anyone show a direction, I will try the improvement. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multiindex scalar coords, fixes #1408 229370997 | |
302170558 | https://github.com/pydata/xarray/pull/1412#issuecomment-302170558 | https://api.github.com/repos/pydata/xarray/issues/1412 | MDEyOklzc3VlQ29tbWVudDMwMjE3MDU1OA== | shoyer 1217238 | 2017-05-17T17:42:58Z | 2017-05-17T17:42:58Z | MEMBER |
I don't like this change. It breaks an important invariant, which is that indexing a Variable returns another Variable. I do agree with indexing along a MultiIndex dimension should unpacking the tuple for coordinates, but only for coordinates. So this needs to be somewhere in the Consider indexing In [8]: ds['yx'][0]
Out[8]:
<xarray.DataArray 'yx' ()>
array(('a', 1), dtype=object)
Coordinates:
yx object ('a', 1)
I tested this example on your PR branch, and it actually crashes with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multiindex scalar coords, fixes #1408 229370997 |
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 3