issue_comments
7 rows where issue = 392535505 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Fix multiindex selection · 7 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
448546591 | https://github.com/pydata/xarray/pull/2621#issuecomment-448546591 | https://api.github.com/repos/pydata/xarray/issues/2621 | MDEyOklzc3VlQ29tbWVudDQ0ODU0NjU5MQ== | pep8speaks 24736507 | 2018-12-19T10:30:19Z | 2018-12-24T12:51:16Z | NONE | Hello @fujiisoup! Thanks for updating the PR. Cheers ! There are no PEP8 issues in this Pull Request. :beers: Comment last updated on December 24, 2018 at 12:51 Hours UTC |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Fix multiindex selection 392535505 | |
448909559 | https://github.com/pydata/xarray/pull/2621#issuecomment-448909559 | https://api.github.com/repos/pydata/xarray/issues/2621 | MDEyOklzc3VlQ29tbWVudDQ0ODkwOTU1OQ== | fujiisoup 6815844 | 2018-12-20T08:09:09Z | 2018-12-20T08:09:09Z | MEMBER | I moved |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Fix multiindex selection 392535505 | |
448894775 | https://github.com/pydata/xarray/pull/2621#issuecomment-448894775 | https://api.github.com/repos/pydata/xarray/issues/2621 | MDEyOklzc3VlQ29tbWVudDQ0ODg5NDc3NQ== | fujiisoup 6815844 | 2018-12-20T06:59:43Z | 2018-12-20T06:59:43Z | MEMBER | But this problem of |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Fix multiindex selection 392535505 | |
448887168 | https://github.com/pydata/xarray/pull/2621#issuecomment-448887168 | https://api.github.com/repos/pydata/xarray/issues/2621 | MDEyOklzc3VlQ29tbWVudDQ0ODg4NzE2OA== | fujiisoup 6815844 | 2018-12-20T06:22:38Z | 2018-12-20T06:22:38Z | MEMBER | @shoyer
Thanks. I will take a look the source later.
Selection of non-exsiting level variable should be KeyError, but it gives a 0-size index. ```python
In [8]: ds = xr.DataArray(np.arange(40).reshape(8, 5), dims=['x', 'y'], In [9]: ds.isel(xy=ds['x'] < 4).sel(x=5) # should be KeyError Out[9]: <xarray.DataArray (y: 0)> array([], dtype=int64) Coordinates: * y (y) int64 ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Fix multiindex selection 392535505 | |
448817147 | https://github.com/pydata/xarray/pull/2621#issuecomment-448817147 | https://api.github.com/repos/pydata/xarray/issues/2621 | MDEyOklzc3VlQ29tbWVudDQ0ODgxNzE0Nw== | shoyer 1217238 | 2018-12-20T01:07:27Z | 2018-12-20T01:07:27Z | MEMBER |
Can you explain why matters for My inclination was just to copy what pandas does (which is only removing unused levels in |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Fix multiindex selection 392535505 | |
448752816 | https://github.com/pydata/xarray/pull/2621#issuecomment-448752816 | https://api.github.com/repos/pydata/xarray/issues/2621 | MDEyOklzc3VlQ29tbWVudDQ0ODc1MjgxNg== | fujiisoup 6815844 | 2018-12-19T21:38:18Z | 2018-12-19T21:38:18Z | MEMBER | @shoyer This issue does not matter only in But what is the good place to do it actually?
If we invoke this in Probably the best for the efficiency is to keep a flag for it in |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Fix multiindex selection 392535505 | |
448677802 | https://github.com/pydata/xarray/pull/2621#issuecomment-448677802 | https://api.github.com/repos/pydata/xarray/issues/2621 | MDEyOklzc3VlQ29tbWVudDQ0ODY3NzgwMg== | shoyer 1217238 | 2018-12-19T17:26:36Z | 2018-12-19T17:26:36Z | MEMBER | Should we update levels after indexing or when stacking? Pandas does the later: ``` In [31]: import pandas as pd In [32]: mindex = pd.MultiIndex.from_product([[1, 2, 3], ['a', 'b']]) In [33]: s = pd.Series(range(6), mindex) In [34]: s.loc[:1].index Out[34]: MultiIndex(levels=[[1, 2, 3], ['a', 'b']], labels=[[0, 0], [0, 1]]) In [35]: s.loc[:1].unstack() Out[35]: a b 1 0 1 ``` The advantage of waiting until unstacking is that removing unused levels could be expensive compared to indexing: it runs in time O(L+N), where L is the size of the original level and N is the length of the new multi-index. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Fix multiindex selection 392535505 |
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