issue_comments
11 rows where author_association = "MEMBER", issue = 143264649 and user = 4160723 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Multi-index indexing · 11 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
233596724 | https://github.com/pydata/xarray/pull/802#issuecomment-233596724 | https://api.github.com/repos/pydata/xarray/issues/802 | MDEyOklzc3VlQ29tbWVudDIzMzU5NjcyNA== | benbovy 4160723 | 2016-07-19T10:48:56Z | 2016-07-19T10:48:56Z | MEMBER | Thanks again @shoyer for your reviews and comments! Merging this PR broke the tests added in #881. I fixed that in #903. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multi-index indexing 143264649 | |
225236223 | https://github.com/pydata/xarray/pull/802#issuecomment-225236223 | https://api.github.com/repos/pydata/xarray/issues/802 | MDEyOklzc3VlQ29tbWVudDIyNTIzNjIyMw== | benbovy 4160723 | 2016-06-10T16:52:44Z | 2016-06-10T16:52:44Z | MEMBER | Thanks for your second review @shoyer ! It actually helped me to better understand the indexing logic of pandas (never too late)! I made some updates according to your comments. I think we're getting closer to a working feature! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multi-index indexing 143264649 | |
224327201 | https://github.com/pydata/xarray/pull/802#issuecomment-224327201 | https://api.github.com/repos/pydata/xarray/issues/802 | MDEyOklzc3VlQ29tbWVudDIyNDMyNzIwMQ== | benbovy 4160723 | 2016-06-07T15:58:49Z | 2016-06-07T15:58:49Z | MEMBER | Noted the difference in documentation. Hope that the whole "multi-level indexing" section is clear enough, not sure if it's proper English. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multi-index indexing 143264649 | |
224104390 | https://github.com/pydata/xarray/pull/802#issuecomment-224104390 | https://api.github.com/repos/pydata/xarray/issues/802 | MDEyOklzc3VlQ29tbWVudDIyNDEwNDM5MA== | benbovy 4160723 | 2016-06-06T22:11:09Z | 2016-06-06T22:11:09Z | MEMBER | That behavior looks good enough to me too! It is indeed already quite flexible :-). Do you think that we really need to handle |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multi-index indexing 143264649 | |
224092354 | https://github.com/pydata/xarray/pull/802#issuecomment-224092354 | https://api.github.com/repos/pydata/xarray/issues/802 | MDEyOklzc3VlQ29tbWVudDIyNDA5MjM1NA== | benbovy 4160723 | 2016-06-06T21:21:29Z | 2016-06-06T21:21:29Z | MEMBER | ```
Example using a tuple of scalar/tuple/list/slice labels for each level: ```
Example using a list of several combinations of multi-index labels: ```
All the following examples raise an error: ```
Note that after verification, pandas has the same behavior for all of the examples shown here. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multi-index indexing 143264649 | |
223921363 | https://github.com/pydata/xarray/pull/802#issuecomment-223921363 | https://api.github.com/repos/pydata/xarray/issues/802 | MDEyOklzc3VlQ29tbWVudDIyMzkyMTM2Mw== | benbovy 4160723 | 2016-06-06T10:22:49Z | 2016-06-06T10:22:49Z | MEMBER | Thanks for the review @shoyer ! I made some updates according to your comments. A possible remaining issue is that using a tuple of tuples, lists or slices exactly behaves like pandas (it calls |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multi-index indexing 143264649 | |
222544618 | https://github.com/pydata/xarray/pull/802#issuecomment-222544618 | https://api.github.com/repos/pydata/xarray/issues/802 | MDEyOklzc3VlQ29tbWVudDIyMjU0NDYxOA== | benbovy 4160723 | 2016-05-30T19:30:03Z | 2016-05-30T19:30:03Z | MEMBER | I finally managed to add some tests and docs. Two more comments:
- Index replacement: if the multi-index has unnamed levels, the chosen name for the replaced index (if any) is @shoyer I think that it is ready for review. I successfully run the tests on my local branch. Currently, CI tests seem broken for some reason I don't know. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multi-index indexing 143264649 | |
206445614 | https://github.com/pydata/xarray/pull/802#issuecomment-206445614 | https://api.github.com/repos/pydata/xarray/issues/802 | MDEyOklzc3VlQ29tbWVudDIwNjQ0NTYxNA== | benbovy 4160723 | 2016-04-06T16:12:44Z | 2016-04-06T16:12:44Z | MEMBER | I hope to have some time next week to work again on this PR. @tippetts You can see in #719 a few comments about saving/reading xarray data objects with multi-index to/from netCDF. I also looking forward to see this feature implemented - actually I need it for another project that uses xarray - so maybe I'll find some time in the next couple of weeks to start a new PR on this. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multi-index indexing 143264649 | |
201389147 | https://github.com/pydata/xarray/pull/802#issuecomment-201389147 | https://api.github.com/repos/pydata/xarray/issues/802 | MDEyOklzc3VlQ29tbWVudDIwMTM4OTE0Nw== | benbovy 4160723 | 2016-03-25T17:56:51Z | 2016-03-25T17:56:51Z | MEMBER | Unless you see any other issues, I think that this feature doesn't need more development for now. I'll be back next week to finish this PR (write some tests and doc). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multi-index indexing 143264649 | |
201370448 | https://github.com/pydata/xarray/pull/802#issuecomment-201370448 | https://api.github.com/repos/pydata/xarray/issues/802 | MDEyOklzc3VlQ29tbWVudDIwMTM3MDQ0OA== | benbovy 4160723 | 2016-03-25T17:10:40Z | 2016-03-25T17:10:40Z | MEMBER | After refactoring a bit,
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multi-index indexing 143264649 | |
201302454 | https://github.com/pydata/xarray/pull/802#issuecomment-201302454 | https://api.github.com/repos/pydata/xarray/issues/802 | MDEyOklzc3VlQ29tbWVudDIwMTMwMjQ1NA== | benbovy 4160723 | 2016-03-25T14:17:29Z | 2016-03-25T14:17:29Z | MEMBER | I followed your suggestions. Two more comments (not critical issues I think) :
- Multi-index level drop only works when a dict is provided for a dimension, i.e., In summary, |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Multi-index indexing 143264649 |
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