issue_comments
2 rows where author_association = "NONE" and 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 · 2 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |
| 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 1