issue_comments
13 rows where issue = 352677925 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Make `dim` optional on unstack · 13 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
417430252 | https://github.com/pydata/xarray/pull/2375#issuecomment-417430252 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNzQzMDI1Mg== | jsignell 4806877 | 2018-08-30T18:58:35Z | 2018-08-30T18:58:35Z | CONTRIBUTOR | Great! Thanks so much for all the feedback :) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
415647225 | https://github.com/pydata/xarray/pull/2375#issuecomment-415647225 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNTY0NzIyNQ== | shoyer 1217238 | 2018-08-24T04:24:33Z | 2018-08-24T04:24:33Z | MEMBER | It might make sense to use a list instead of a set here. On Thu, Aug 23, 2018 at 8:37 PM Keisuke Fujii notifications@github.com wrote:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
415493314 | https://github.com/pydata/xarray/pull/2375#issuecomment-415493314 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNTQ5MzMxNA== | jsignell 4806877 | 2018-08-23T17:02:15Z | 2018-08-23T17:02:15Z | CONTRIBUTOR | Thanks for the context! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
415492951 | https://github.com/pydata/xarray/pull/2375#issuecomment-415492951 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNTQ5Mjk1MQ== | shoyer 1217238 | 2018-08-23T17:01:23Z | 2018-08-23T17:01:23Z | MEMBER | Dataset.transpose accepts *args based on the design of numpy.ndarray.transpose, but that API is probably a mistake (both in NumPy and xarray). Everything else uses an axis/dim argument that can take a scalar or sequence value. On Thu, Aug 23, 2018 at 9:56 AM Julia Signell notifications@github.com wrote:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
415490818 | https://github.com/pydata/xarray/pull/2375#issuecomment-415490818 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNTQ5MDgxOA== | jsignell 4806877 | 2018-08-23T16:56:07Z | 2018-08-23T16:56:07Z | CONTRIBUTOR | I can change it. I guess I was looking at |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
415486919 | https://github.com/pydata/xarray/pull/2375#issuecomment-415486919 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNTQ4NjkxOQ== | shoyer 1217238 | 2018-08-23T16:46:41Z | 2018-08-23T16:46:41Z | MEMBER |
Usually we prefer to stick to a single argument, but use isinstance checks to support both single dimensions and lists of dimensions, e.g., see how |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
415473341 | https://github.com/pydata/xarray/pull/2375#issuecomment-415473341 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNTQ3MzM0MQ== | jsignell 4806877 | 2018-08-23T16:06:51Z | 2018-08-23T16:06:51Z | CONTRIBUTOR | I chose to use *dims rather than a list of dims so that this change will have a very small impact on people. Most people probably do something like |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
415437261 | https://github.com/pydata/xarray/pull/2375#issuecomment-415437261 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNTQzNzI2MQ== | jsignell 4806877 | 2018-08-23T14:29:01Z | 2018-08-23T14:29:01Z | CONTRIBUTOR | Ok so in this PR I will make unstack accept multiple dims like In a follow on PR I will make |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
415227870 | https://github.com/pydata/xarray/pull/2375#issuecomment-415227870 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNTIyNzg3MA== | shoyer 1217238 | 2018-08-23T00:06:56Z | 2018-08-23T00:06:56Z | MEMBER | I think
I'm not really opposed to Maybe we can figure a better way to spell "label these arrays like this template xarray object" that doesn't require referencing
I'm not sure that a dedicated function |
{ "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
415201313 | https://github.com/pydata/xarray/pull/2375#issuecomment-415201313 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNTIwMTMxMw== | fujiisoup 6815844 | 2018-08-22T22:22:48Z | 2018-08-22T22:22:48Z | MEMBER |
first dimension is not well defined in ```python In [15]: import numpy as np ...: import xarray as xr ...: ...: ds = xr.Dataset({'var': (('x', 'y', 'z', 'w'), np.random.randn(2,3,4,5))}) ...: ds = ds.stack(b=['z', 'w']).stack(a=['x', 'y']) ...: ds ...: Out[15]: <xarray.Dataset> Dimensions: (a: 6, b: 20) Coordinates: * b (b) MultiIndex - z (b) int64 0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 - w (b) int64 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 * a (a) MultiIndex - x (a) int64 0 0 0 1 1 1 - y (a) int64 0 1 2 0 1 2 Data variables: var (b, a) float64 -1.277 -0.4031 -0.3816 ... 1.398 0.6763 -0.6735 In [16]: list(ds.dims) Out[16]: ['a', 'b'] In [17]: list(ds['var'].dims) Out[17]: ['b', 'a'] ```
I like this direction.
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
415099271 | https://github.com/pydata/xarray/pull/2375#issuecomment-415099271 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNTA5OTI3MQ== | jsignell 4806877 | 2018-08-22T16:44:47Z | 2018-08-22T17:46:24Z | CONTRIBUTOR |
I don't have an opinion on that except to say that |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
415053454 | https://github.com/pydata/xarray/pull/2375#issuecomment-415053454 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNTA1MzQ1NA== | jsignell 4806877 | 2018-08-22T14:32:51Z | 2018-08-22T15:23:27Z | CONTRIBUTOR |
I like the idea of unstacking all the MultiIndexes, but in that case should we allow passing in multiple dims? It seems weird to do a recursive unstack in the case of no argument passed without allowing the user to specifically choose multiple dims along which to unstack. I think it is probably better to just choose a default dim to unstack like this PR does. But maybe it is better to choose the first dim that is MultiIndex rather than the first dim. That way if you do a stack().unstack() you will roundtrip your data since the stacked index gets added to the end of dims. And if you just pass an object with one MultiIndex (probably the most common scenario) unstack will do the right thing. And if you pass an object with multiple MultiIndexes and unstack repeatedly, you will get your original data out. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 | |
414860789 | https://github.com/pydata/xarray/pull/2375#issuecomment-414860789 | https://api.github.com/repos/pydata/xarray/issues/2375 | MDEyOklzc3VlQ29tbWVudDQxNDg2MDc4OQ== | fujiisoup 6815844 | 2018-08-22T00:01:45Z | 2018-08-22T00:01:45Z | MEMBER | Thanks, @jsignell. I like this idea ( For |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Make `dim` optional on unstack 352677925 |
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