issue_comments
9 rows where issue = 170779798 and user = 5635139 sorted by updated_at descending
This data as json, CSV (advanced)
issue 1
- New function for applying vectorized functions for unlabeled arrays to xarray objects · 9 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
270863277 | https://github.com/pydata/xarray/pull/964#issuecomment-270863277 | https://api.github.com/repos/pydata/xarray/issues/964 | MDEyOklzc3VlQ29tbWVudDI3MDg2MzI3Nw== | max-sixty 5635139 | 2017-01-06T09:20:08Z | 2017-01-06T09:20:08Z | MEMBER | FWIW the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
New function for applying vectorized functions for unlabeled arrays to xarray objects 170779798 | |
270863083 | https://github.com/pydata/xarray/pull/964#issuecomment-270863083 | https://api.github.com/repos/pydata/xarray/issues/964 | MDEyOklzc3VlQ29tbWVudDI3MDg2MzA4Mw== | max-sixty 5635139 | 2017-01-06T09:18:47Z | 2017-01-06T09:18:47Z | MEMBER | Congrats! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
New function for applying vectorized functions for unlabeled arrays to xarray objects 170779798 | |
268355105 | https://github.com/pydata/xarray/pull/964#issuecomment-268355105 | https://api.github.com/repos/pydata/xarray/issues/964 | MDEyOklzc3VlQ29tbWVudDI2ODM1NTEwNQ== | max-sixty 5635139 | 2016-12-20T20:46:55Z | 2016-12-20T20:46:55Z | MEMBER | Gave this a quick spin for filling. A few questions:
```python da=xr.DataArray(np.random.rand(10,3), dims=('x','y')) da = da.where(da>0.5) In [43]: da Out[43]: <xarray.DataArray (x: 10, y: 3)> array([[ nan, 0.57243305, 0.84363016], [ nan, 0.90788156, nan], [ nan, 0.50739189, 0.93701278], [ nan, nan, 0.86804167], [ nan, 0.50883914, nan], [ nan, nan, nan], [ nan, 0.91547763, nan], [ 0.72920182, nan, 0.6982745 ], [ 0.73033449, 0.950719 , 0.73077113], [ nan, nan, 0.72463932]]) In [44]: xr.apply(bn.push, da) . # already better than but changing the axis is verbose and transposes the array - are there existing tools for this?In [48]: xr.apply(bn.push, da, signature='(x)->(x)', new_coords=[dict(x=da.x)]) Out[48]: <xarray.DataArray (y: 3, x: 10)> array([[ nan, nan, nan, nan, nan, nan, nan, 0.72920182, 0.73033449, 0.73033449], [ 0.57243305, 0.90788156, 0.50739189, 0.50739189, 0.50883914, 0.50883914, 0.91547763, 0.91547763, 0.950719 , 0.950719 ], [ 0.84363016, 0.84363016, 0.93701278, 0.86804167, 0.86804167, 0.86804167, 0.86804167, 0.6982745 , 0.73077113, 0.72463932]]) Coordinates: * x (x) int64 0 1 2 3 4 5 6 7 8 9 o y (y) - ```
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
New function for applying vectorized functions for unlabeled arrays to xarray objects 170779798 | |
263988895 | https://github.com/pydata/xarray/pull/964#issuecomment-263988895 | https://api.github.com/repos/pydata/xarray/issues/964 | MDEyOklzc3VlQ29tbWVudDI2Mzk4ODg5NQ== | max-sixty 5635139 | 2016-11-30T20:41:14Z | 2016-11-30T20:41:14Z | MEMBER |
Right. Surprisingly, I can't actually find something like this out there. The pandas code is good but highly 1-2 dimension specific. Let me know if I'm missing (pun intended - long day) something. Is there a library of these sorts of functions over n-dims somewhere else (even R / Julia)? Or are we really the first people in the world to be doing this? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
New function for applying vectorized functions for unlabeled arrays to xarray objects 170779798 | |
263942583 | https://github.com/pydata/xarray/pull/964#issuecomment-263942583 | https://api.github.com/repos/pydata/xarray/issues/964 | MDEyOklzc3VlQ29tbWVudDI2Mzk0MjU4Mw== | max-sixty 5635139 | 2016-11-30T17:45:43Z | 2016-11-30T17:45:43Z | MEMBER | I'm thinking through how difficult it would be to add back-fill method to Would this PR help? I'm trying to wrap my head around the options. Thanks |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
New function for applying vectorized functions for unlabeled arrays to xarray objects 170779798 | |
246796164 | https://github.com/pydata/xarray/pull/964#issuecomment-246796164 | https://api.github.com/repos/pydata/xarray/issues/964 | MDEyOklzc3VlQ29tbWVudDI0Njc5NjE2NA== | max-sixty 5635139 | 2016-09-13T19:28:58Z | 2016-09-13T19:28:58Z | MEMBER | Would it be possible to write something like np.einsum with xarray named dimensions? I think it's possible, by supplying the dimensions to sum over, and broadcasting the others. Similar to the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
New function for applying vectorized functions for unlabeled arrays to xarray objects 170779798 | |
239556426 | https://github.com/pydata/xarray/pull/964#issuecomment-239556426 | https://api.github.com/repos/pydata/xarray/issues/964 | MDEyOklzc3VlQ29tbWVudDIzOTU1NjQyNg== | max-sixty 5635139 | 2016-08-12T20:50:24Z | 2016-08-12T20:50:32Z | MEMBER | Thanks for thinking through these
I think that makes sense.
The way I was thinking about it: both ``` python assert set(other.dims) =< set(da.dims) assert set(bool_array.dims) =< set(da.dims) other, _ = xr.broadcast(other, da) bool_array, _ = xr.broadcast(bool_array, da) da.where(bool_array, other) ``` Is that consistent with the joins you were thinking of? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
New function for applying vectorized functions for unlabeled arrays to xarray objects 170779798 | |
239469432 | https://github.com/pydata/xarray/pull/964#issuecomment-239469432 | https://api.github.com/repos/pydata/xarray/issues/964 | MDEyOklzc3VlQ29tbWVudDIzOTQ2OTQzMg== | max-sixty 5635139 | 2016-08-12T14:58:15Z | 2016-08-12T14:58:15Z | MEMBER | When this is done & we can do
...could be sugar for...
i.e. do we get multidimensional indexing for free? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
New function for applying vectorized functions for unlabeled arrays to xarray objects 170779798 | |
239347755 | https://github.com/pydata/xarray/pull/964#issuecomment-239347755 | https://api.github.com/repos/pydata/xarray/issues/964 | MDEyOklzc3VlQ29tbWVudDIzOTM0Nzc1NQ== | max-sixty 5635139 | 2016-08-12T02:34:12Z | 2016-08-12T02:34:12Z | MEMBER | This looks awesome! Would simplify a lot of the existing op stuff! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
New function for applying vectorized functions for unlabeled arrays to xarray objects 170779798 |
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