issue_comments: 398584002
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/issues/2237#issuecomment-398584002 | https://api.github.com/repos/pydata/xarray/issues/2237 | 398584002 | MDEyOklzc3VlQ29tbWVudDM5ODU4NDAwMg== | 1217238 | 2018-06-20T00:11:33Z | 2018-06-20T00:11:33Z | MEMBER |
No worries, this is indeed, pretty confusing! For suppose N is the number of years of datalist_of_group_indices = [ [0, 365, 730, ..., (N-1)365], # day 1, ordered by year [1, 366, 731, ..., (N-1)365 + 1], # day 2, ordered by year ... ] indices_to_restore_orig_order = [ 0, N, 2N, 3N, ..., # year 1, ordered by day 1, N+1, 2N+1, 3N+1, ..., # year 2, ordered by day ... ] ``` As you can see, if you concatenate together the first set of indices and index by the second set of indices, it would arrange them into sequential integers. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
333312849 |