issue_comments
10 rows where issue = 231308952 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- scalar_level in MultiIndex · 10 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
454165639 | https://github.com/pydata/xarray/pull/1426#issuecomment-454165639 | https://api.github.com/repos/pydata/xarray/issues/1426 | MDEyOklzc3VlQ29tbWVudDQ1NDE2NTYzOQ== | fujiisoup 6815844 | 2019-01-14T21:20:27Z | 2019-01-14T21:20:27Z | MEMBER | I'll close this for the recent discussion about MultiIndex |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
scalar_level in MultiIndex 231308952 | |
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 | |
309268208 | https://github.com/pydata/xarray/pull/1426#issuecomment-309268208 | https://api.github.com/repos/pydata/xarray/issues/1426 | MDEyOklzc3VlQ29tbWVudDMwOTI2ODIwOA== | fujiisoup 6815844 | 2017-06-18T10:11:33Z | 2017-06-18T10:11:33Z | MEMBER | @benbovy Sorry for my late reply. I think I like your proposal, which bundles multiple concepts in xarray such as Currently, 'rasm' example is like
Does your proposal (automatically) change this like
|
{ "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 | |
305062228 | https://github.com/pydata/xarray/pull/1426#issuecomment-305062228 | https://api.github.com/repos/pydata/xarray/issues/1426 | MDEyOklzc3VlQ29tbWVudDMwNTA2MjIyOA== | fujiisoup 6815844 | 2017-05-31T02:12:13Z | 2017-05-31T02:12:13Z | MEMBER | @shoyer
I personally think 2 is more intuitive for users,
because it might be difficult to distinguish
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
scalar_level in MultiIndex 231308952 | |
305058643 | https://github.com/pydata/xarray/pull/1426#issuecomment-305058643 | https://api.github.com/repos/pydata/xarray/issues/1426 | MDEyOklzc3VlQ29tbWVudDMwNTA1ODY0Mw== | shoyer 1217238 | 2017-05-31T01:46:35Z | 2017-05-31T01:46:35Z | MEMBER |
I was only thinking about @benbovy although a Right now, our user facing API in xarray exposes three related concepts:
- Eliminating any of these concepts would be an improvement. To this end, I have two (vague) proposals:
1. Eliminate |
{ "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 | |
304904137 | https://github.com/pydata/xarray/pull/1426#issuecomment-304904137 | https://api.github.com/repos/pydata/xarray/issues/1426 | MDEyOklzc3VlQ29tbWVudDMwNDkwNDEzNw== | fmaussion 10050469 | 2017-05-30T14:53:48Z | 2017-05-30T14:53:48Z | MEMBER |
This would be awesome and so much clearer for many users including me, who understand "coordinates" much better than "MultiIndex". |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
scalar_level in MultiIndex 231308952 | |
304902053 | https://github.com/pydata/xarray/pull/1426#issuecomment-304902053 | https://api.github.com/repos/pydata/xarray/issues/1426 | MDEyOklzc3VlQ29tbWVudDMwNDkwMjA1Mw== | fujiisoup 6815844 | 2017-05-30T14:47:36Z | 2017-05-30T14:47:36Z | MEMBER | @shoyer Thanks for the comment.
Actually I am not yet fully comfortable with my implementation, and I like your idea as this might be much cleaner and simpler than mine. If my understanding is correct, does it mean that we will support
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
scalar_level in MultiIndex 231308952 | |
304778433 | https://github.com/pydata/xarray/pull/1426#issuecomment-304778433 | https://api.github.com/repos/pydata/xarray/issues/1426 | MDEyOklzc3VlQ29tbWVudDMwNDc3ODQzMw== | shoyer 1217238 | 2017-05-30T05:29:11Z | 2017-05-30T05:29:11Z | MEMBER | Sorry for the delay getting back to you here -- I'm still thinking through the implications of this change. This does make the handling of However, taking a step back, I wonder if this is the right approach. In many ways, structured dtypes are similar to xarray's existing data structures, so supporting them fully means a lot of duplicated functionality. MultiIndexes (especially with scalars) should work similarly to separate variables, but they are implemented very differently under the hood (all the data lives in one variable). (See https://github.com/pandas-dev/pandas/issues/3443 for related discussion about pandas and why it doesn't support structured dtypes.) It occurs to me that if we had full support for indexing on coordinate levels, we might not need a notion of a "MultiIndex" in the public API at all. To make this more concrete, what if this was the Pandas has CC @benbovy |
{ "total_count": 2, "+1": 2, "-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 4