issue_comments
3 rows where issue = 231308952 and user = 4160723 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- scalar_level in MultiIndex · 3 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
310032997 | https://github.com/pydata/xarray/pull/1426#issuecomment-310032997 | https://api.github.com/repos/pydata/xarray/issues/1426 | MDEyOklzc3VlQ29tbWVudDMxMDAzMjk5Nw== | benbovy 4160723 | 2017-06-21T10:08:07Z | 2017-06-21T10:58:29Z | MEMBER | Although I haven't thought about all the details regarding this, I think that in the case of multi-dimensional coordinates a "super index" would rather allow directly using these coordinates for indexing, which is currently not possible. In your 'rasm' example, it would rather look like
and it would allow writing
Note that That's actually what @shoyer suggested here. The proposal above is more about having the same API for groups of coordinates that can be indexed using a "wrapped" index object (maybe "wrapped index" is a better name than "super index"?), but the logic can be very different from one index object to another. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
scalar_level in MultiIndex 231308952 | |
305520522 | https://github.com/pydata/xarray/pull/1426#issuecomment-305520522 | https://api.github.com/repos/pydata/xarray/issues/1426 | MDEyOklzc3VlQ29tbWVudDMwNTUyMDUyMg== | benbovy 4160723 | 2017-06-01T15:00:06Z | 2017-06-01T15:00:06Z | MEMBER | @fujiisoup I agree that given your example proposal 2 might be more intuitive, however IMHO implicit indexes seem a bit too magical indeed. Although I don't have any concrete example in mind, I guess that sometimes I would be hard to really understand what's going on. Exposing less concepts to users would be indeed an improvement, unless it makes things too implicit or magical. Let me try to give a more detailed proposal than in my previous comment, which generalizes to potential features like multi-dimensional indexers (see @shoyer's comment, which I'd be happy to start working on soon). It is actually very much like proposal 1, with only one additional concept (called "super index" below).
Examples of super indexes:
"Super index" is an additional concept that has to be understood by users, which is in principle bad, but here I think it's worth as it potentially gives a good generic model for explicit handling of various, advanced indexes that involve multiple coordinates. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
scalar_level in MultiIndex 231308952 | |
305039117 | https://github.com/pydata/xarray/pull/1426#issuecomment-305039117 | https://api.github.com/repos/pydata/xarray/issues/1426 | MDEyOklzc3VlQ29tbWVudDMwNTAzOTExNw== | benbovy 4160723 | 2017-05-30T23:38:05Z | 2017-05-30T23:38:05Z | MEMBER | I also fully agree that using multiple coordinate (index) variables instead of a A dimension with a single 'real' coordinate (i.e., an Using multiple 'real' coordinates, I don't see any reason why
I'm thinking about something like this:
It may present several advantages:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
scalar_level in MultiIndex 231308952 |
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