issue_comments
11 rows where issue = 130753818 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- merge and align DataArrays/Datasets on different domains · 11 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
274641536 | https://github.com/pydata/xarray/issues/742#issuecomment-274641536 | https://api.github.com/repos/pydata/xarray/issues/742 | MDEyOklzc3VlQ29tbWVudDI3NDY0MTUzNg== | shoyer 1217238 | 2017-01-23T22:42:18Z | 2017-01-23T22:42:18Z | MEMBER | Fixed by #996 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
merge and align DataArrays/Datasets on different domains 130753818 | |
242239306 | https://github.com/pydata/xarray/issues/742#issuecomment-242239306 | https://api.github.com/repos/pydata/xarray/issues/742 | MDEyOklzc3VlQ29tbWVudDI0MjIzOTMwNg== | shoyer 1217238 | 2016-08-24T23:27:41Z | 2016-08-24T23:27:41Z | MEMBER | @jcmgray Yes, that looks about right to me. The place to add this in would be the I would use |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
merge and align DataArrays/Datasets on different domains 130753818 | |
242235696 | https://github.com/pydata/xarray/issues/742#issuecomment-242235696 | https://api.github.com/repos/pydata/xarray/issues/742 | MDEyOklzc3VlQ29tbWVudDI0MjIzNTY5Ng== | jcmgray 8982598 | 2016-08-24T23:05:49Z | 2016-08-24T23:05:49Z | CONTRIBUTOR | @shoyer My 2 cents for how this might work after 0.8+ (auto-align during ``` python import xarray.ufuncs as xrufuncs def nonnull_compatible(first, second): """ Check whether two (aligned) datasets have any conflicting non-null values. """
``` And then |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
merge and align DataArrays/Datasets on different domains 130753818 | |
227573330 | https://github.com/pydata/xarray/issues/742#issuecomment-227573330 | https://api.github.com/repos/pydata/xarray/issues/742 | MDEyOklzc3VlQ29tbWVudDIyNzU3MzMzMA== | jcmgray 8982598 | 2016-06-21T21:11:21Z | 2016-06-21T21:11:21Z | CONTRIBUTOR | Woops - I actually meant to put
in there as the one that works ... my understanding is that this is supported as long as the specified coordinates are 'nice' (according to And yes, default values for DataArray/Dataset would definitely fill the "create_all_missing" need. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
merge and align DataArrays/Datasets on different domains 130753818 | |
227053256 | https://github.com/pydata/xarray/issues/742#issuecomment-227053256 | https://api.github.com/repos/pydata/xarray/issues/742 | MDEyOklzc3VlQ29tbWVudDIyNzA1MzI1Ng== | shoyer 1217238 | 2016-06-20T05:29:59Z | 2016-06-20T05:29:59Z | MEMBER | @JamesPHoughton @jcmgray For empty array creation, take a look at https://github.com/pydata/xarray/issues/277 and https://github.com/pydata/xarray/issues/878 -- this functionality would certainly be welcome.
@jcmgray Beware -- none of these are actually supported! See the big warning here in the docs. If you think a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
merge and align DataArrays/Datasets on different domains 130753818 | |
226547071 | https://github.com/pydata/xarray/issues/742#issuecomment-226547071 | https://api.github.com/repos/pydata/xarray/issues/742 | MDEyOklzc3VlQ29tbWVudDIyNjU0NzA3MQ== | jcmgray 8982598 | 2016-06-16T16:57:48Z | 2016-06-16T16:57:48Z | CONTRIBUTOR | Yes following a similar line of thought to you I recently wrote an 'all missing' dataset constructor (rather than 'empty' which I think of as no variables):
To go with this (and this might be separate issue), a
guarantees assigning a new value, (currently only the last syntax I believe). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
merge and align DataArrays/Datasets on different domains 130753818 | |
226486770 | https://github.com/pydata/xarray/issues/742#issuecomment-226486770 | https://api.github.com/repos/pydata/xarray/issues/742 | MDEyOklzc3VlQ29tbWVudDIyNjQ4Njc3MA== | JamesPHoughton 4304478 | 2016-06-16T13:36:28Z | 2016-06-16T13:37:44Z | NONE | Something akin to the pandas dataframe
But, not sure if empty array construction is supported? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
merge and align DataArrays/Datasets on different domains 130753818 | |
226249845 | https://github.com/pydata/xarray/issues/742#issuecomment-226249845 | https://api.github.com/repos/pydata/xarray/issues/742 | MDEyOklzc3VlQ29tbWVudDIyNjI0OTg0NQ== | shoyer 1217238 | 2016-06-15T16:54:45Z | 2016-06-15T16:54:45Z | MEMBER | I think this could make it into merge, which I am in the process of refactoring in https://github.com/pydata/xarray/pull/857. The key difference from @jcmgray's implementation that I would want is a check to make sure that the data is all on different domains when using @JamesPHoughton I agree with @jcmgray that the dtype=object is what you should expect here. It's hard to create fixed length strings in xarray/pandas because that precludes the possibility of missing values, so we tend to convert strings to object dtype when merged/concatenated. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
merge and align DataArrays/Datasets on different domains 130753818 | |
178997890 | https://github.com/pydata/xarray/issues/742#issuecomment-178997890 | https://api.github.com/repos/pydata/xarray/issues/742 | MDEyOklzc3VlQ29tbWVudDE3ODk5Nzg5MA== | shoyer 1217238 | 2016-02-03T04:23:31Z | 2016-06-15T16:50:43Z | MEMBER | This is actually closer to the functionality of ``` note: this is not valid syntax currently! the dims argumentsdoes not yet exist.this would hypothetically only align along the 'y' dimension, not 'x'aligned = xr.align(*das, join='outer', dims='y') combined = xr.concat(aligned, dim='x') ``` In cases where each array does not already have the dimension you want to concat along, this already works fine, because you can simply omit |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
merge and align DataArrays/Datasets on different domains 130753818 | |
226179313 | https://github.com/pydata/xarray/issues/742#issuecomment-226179313 | https://api.github.com/repos/pydata/xarray/issues/742 | MDEyOklzc3VlQ29tbWVudDIyNjE3OTMxMw== | jcmgray 8982598 | 2016-06-15T12:59:08Z | 2016-06-15T12:59:08Z | CONTRIBUTOR | Just a comment that the appearance of I still use use the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
merge and align DataArrays/Datasets on different domains 130753818 | |
226003087 | https://github.com/pydata/xarray/issues/742#issuecomment-226003087 | https://api.github.com/repos/pydata/xarray/issues/742 | MDEyOklzc3VlQ29tbWVudDIyNjAwMzA4Nw== | JamesPHoughton 4304478 | 2016-06-14T20:18:11Z | 2016-06-14T20:18:11Z | NONE | I'm having a similar issue, expanding the complexity in that I want to concatenate across multiple dimensions. I'm not sure if that's a cogent way to explain it, but here's an example. I have:
Which I want to merge into a single, fully populated array similar to what I'd get if I did: ``` python data =[[[ 1.1, 1.2, 1.3], [ 3.1, 3.2, 3.3]],
xr.DataArray(data=data, coords={'Dim1': ['A', 'B', 'C'], 'Dim2':['D', 'E'], 'Dim3':['F', 'G']}) ``` i.e. ``` python <xarray.DataArray (Dim2: 2, Dim3: 2, Dim1: 3)> array([[[ 1.1, 1.2, 1.3], [ 3.1, 3.2, 3.3]],
Coordinates: * Dim2 (Dim2) |S1 'D' 'E' * Dim3 (Dim3) |S1 'F' 'G' * Dim1 (Dim1) |S1 'A' 'B' 'C' ``` @jcmgray's function is pretty close, although the array indicies are described slightly differently (I'm not sure if this is a big deal or not...). Note the 'object' type for Dim2 and Dim3: ``` python <xarray.DataArray (Dim2: 2, Dim3: 2, Dim1: 3)> array([[[ 1.1, 1.2, 1.3], [ 3.1, 3.2, 3.3]],
Coordinates: * Dim2 (Dim2) object 'D' 'E' * Dim3 (Dim3) object 'F' 'G' * Dim1 (Dim1) |S1 'A' 'B' 'C' ``` It would be great to have a canonical way to do this. What should I try? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
merge and align DataArrays/Datasets on different domains 130753818 |
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