issue_comments
8 rows where issue = 171077425 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- sortby() or sort_index() method for Dataset and DataArray · 8 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 298117210 | https://github.com/pydata/xarray/issues/967#issuecomment-298117210 | https://api.github.com/repos/pydata/xarray/issues/967 | MDEyOklzc3VlQ29tbWVudDI5ODExNzIxMA== | shoyer 1217238 | 2017-04-28T22:04:15Z | 2017-04-28T22:04:15Z | MEMBER |
Indeed, you would not. I think my earlier comment was a little confusing here. I meant you could have name(s) of variables in a Dataset (which means either coords or data_vars) or coords on a DataArray.
Yes, agreed. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
sortby() or sort_index() method for Dataset and DataArray 171077425 | |
| 298109506 | https://github.com/pydata/xarray/issues/967#issuecomment-298109506 | https://api.github.com/repos/pydata/xarray/issues/967 | MDEyOklzc3VlQ29tbWVudDI5ODEwOTUwNg== | chunweiyuan 5572303 | 2017-04-28T21:20:57Z | 2017-04-28T21:20:57Z | CONTRIBUTOR | Sounds good. As I'm writing the type-checking code I run into this question: Why would I have a |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
sortby() or sort_index() method for Dataset and DataArray 171077425 | |
| 297875833 | https://github.com/pydata/xarray/issues/967#issuecomment-297875833 | https://api.github.com/repos/pydata/xarray/issues/967 | MDEyOklzc3VlQ29tbWVudDI5Nzg3NTgzMw== | shoyer 1217238 | 2017-04-28T00:33:55Z | 2017-04-28T00:40:43Z | MEMBER |
Maybe something like: So I think this covers all the use cases of If you really want to sort a 1D DataArray by its own values, you would write |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
sortby() or sort_index() method for Dataset and DataArray 171077425 | |
| 297875052 | https://github.com/pydata/xarray/issues/967#issuecomment-297875052 | https://api.github.com/repos/pydata/xarray/issues/967 | MDEyOklzc3VlQ29tbWVudDI5Nzg3NTA1Mg== | chunweiyuan 5572303 | 2017-04-28T00:27:46Z | 2017-04-28T00:27:46Z | CONTRIBUTOR | What would the signature of |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
sortby() or sort_index() method for Dataset and DataArray 171077425 | |
| 297871870 | https://github.com/pydata/xarray/issues/967#issuecomment-297871870 | https://api.github.com/repos/pydata/xarray/issues/967 | MDEyOklzc3VlQ29tbWVudDI5Nzg3MTg3MA== | shoyer 1217238 | 2017-04-28T00:03:57Z | 2017-04-28T00:03:57Z | MEMBER | @chunweiyuan I would skip When you assign to I actually like the name |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
sortby() or sort_index() method for Dataset and DataArray 171077425 | |
| 297868909 | https://github.com/pydata/xarray/issues/967#issuecomment-297868909 | https://api.github.com/repos/pydata/xarray/issues/967 | MDEyOklzc3VlQ29tbWVudDI5Nzg2ODkwOQ== | chunweiyuan 5572303 | 2017-04-27T23:43:12Z | 2017-04-27T23:43:12Z | CONTRIBUTOR | A couple of things: 1.) Upon a little thinking I believe |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
sortby() or sort_index() method for Dataset and DataArray 171077425 | |
| 296409111 | https://github.com/pydata/xarray/issues/967#issuecomment-296409111 | https://api.github.com/repos/pydata/xarray/issues/967 | MDEyOklzc3VlQ29tbWVudDI5NjQwOTExMQ== | shoyer 1217238 | 2017-04-22T23:50:05Z | 2017-04-22T23:50:05Z | MEMBER | If you pass in a list or array to These approach do go do slightly different code paths, but they would have equivalent performance in most cases because the indexing cost will dominate over sorting. I would prefer using Also, as a side note |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
sortby() or sort_index() method for Dataset and DataArray 171077425 | |
| 296394094 | https://github.com/pydata/xarray/issues/967#issuecomment-296394094 | https://api.github.com/repos/pydata/xarray/issues/967 | MDEyOklzc3VlQ29tbWVudDI5NjM5NDA5NA== | chunweiyuan 5572303 | 2017-04-22T18:57:07Z | 2017-04-22T18:57:07Z | CONTRIBUTOR | On our end, we currently do the following when we need to sort by axis label (lat/lon in this case):
We'd be happy to contribute to an xarray version of |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
sortby() or sort_index() method for Dataset and DataArray 171077425 |
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 2