issue_comments
9 rows where author_association = "MEMBER", issue = 955936490 and user = 4160723 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Flexible indexes: review the implementation of alignment and merge · 9 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1239162673 | https://github.com/pydata/xarray/issues/5647#issuecomment-1239162673 | https://api.github.com/repos/pydata/xarray/issues/5647 | IC_kwDOAMm_X85J3B8x | benbovy 4160723 | 2022-09-07T09:47:13Z | 2022-09-07T09:47:13Z | MEMBER | I think we can close this issue, which has mostly been addressed in #5692. I opened #7002 for the potential problem of index alignment vs. coordinate ordering. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Flexible indexes: review the implementation of alignment and merge 955936490 | |
949618104 | https://github.com/pydata/xarray/issues/5647#issuecomment-949618104 | https://api.github.com/repos/pydata/xarray/issues/5647 | IC_kwDOAMm_X844mgW4 | benbovy 4160723 | 2021-10-22T13:11:01Z | 2021-10-22T13:11:01Z | MEMBER | @shoyer I'm now reviewing the merging logic. I works mostly fine, with some minor concerns:
Let's take this example: ```python
Do we raise a Note: the following example does not raise any error in xarray: ```python
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Flexible indexes: review the implementation of alignment and merge 955936490 | |
946883858 | https://github.com/pydata/xarray/issues/5647#issuecomment-946883858 | https://api.github.com/repos/pydata/xarray/issues/5647 | IC_kwDOAMm_X844cE0S | benbovy 4160723 | 2021-10-19T16:16:24Z | 2021-10-19T16:16:24Z | MEMBER | Other possible solutions (from discussion with @shoyer):
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Flexible indexes: review the implementation of alignment and merge 955936490 | |
946546464 | https://github.com/pydata/xarray/issues/5647#issuecomment-946546464 | https://api.github.com/repos/pydata/xarray/issues/5647 | IC_kwDOAMm_X844aycg | benbovy 4160723 | 2021-10-19T09:47:04Z | 2021-10-19T09:47:04Z | MEMBER | I've used the following key type to find matching indexes:
where the order of coordinates doesn't matter. For Are there potential custom indexes where the order of coordinates doesn't matter? Maybe a good example is a meta-index for staggered grids where the cell center coordinate and the cell edges coordinates might be given in any order. Possible solutions to address this:
Option 2 is more flexible but option 1 might be enough. Option 1 may also be great for clearer indexes and coordinates sections in Xarray objects |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Flexible indexes: review the implementation of alignment and merge 955936490 | |
945933099 | https://github.com/pydata/xarray/issues/5647#issuecomment-945933099 | https://api.github.com/repos/pydata/xarray/issues/5647 | IC_kwDOAMm_X844Ycsr | benbovy 4160723 | 2021-10-18T16:09:11Z | 2021-10-18T16:09:11Z | MEMBER |
Yes, I did that for |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Flexible indexes: review the implementation of alignment and merge 955936490 | |
945592260 | https://github.com/pydata/xarray/issues/5647#issuecomment-945592260 | https://api.github.com/repos/pydata/xarray/issues/5647 | IC_kwDOAMm_X844XJfE | benbovy 4160723 | 2021-10-18T09:43:18Z | 2021-10-18T10:47:26Z | MEMBER | Ok, I'm now hitting another obstacle while working on reindex. So one general approach for both alignment and re-indexing that is "pretty straightforward" to implement with the new Xarray index data model is: (1) find matching indexes based on their corresponding coordinate/dimension names and index type, and (2) call Relaxing any of the constraints in (1) would be much more complicated to implement. We would need to do some sort of mapping from dimension labels to all involved (multi-/meta-)indexes, then check for conflicts in dimension indexers returned from multiple indexes, possibly handle/remove multi-index coordinates (or convert back to non-indexed coordinates), etc. One problem with
Cases 3 and 4 are a big obstacle for me right now. I really don't know how we can still support those special cases without deeply re-thinking the problem. If they could be considered as a bug, then the new implementation would already raise an nice error message :-). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Flexible indexes: review the implementation of alignment and merge 955936490 | |
944273383 | https://github.com/pydata/xarray/issues/5647#issuecomment-944273383 | https://api.github.com/repos/pydata/xarray/issues/5647 | IC_kwDOAMm_X844SHfn | benbovy 4160723 | 2021-10-15T12:53:45Z | 2021-10-15T12:57:38Z | MEMBER | I've now re-implemented most of the alignment logic in #5692, using a dedicated class so that all intermediate steps are implemented in a clearer and more maintainable way. One remaining task is to get the re-indexing logic right. Rather than relying on an ```python DimIntIndexers = Dict[Hashable, Any] class Index: def reindex(self, dim_labels: Mapping[Hashable, Any]) -> DimIntIndexers: ...
``` For alignment, I think we could directly call |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Flexible indexes: review the implementation of alignment and merge 955936490 | |
937865982 | https://github.com/pydata/xarray/issues/5647#issuecomment-937865982 | https://api.github.com/repos/pydata/xarray/issues/5647 | IC_kwDOAMm_X8435rL- | benbovy 4160723 | 2021-10-07T14:48:02Z | 2021-10-07T14:48:02Z | MEMBER | @shoyer I'm looking more deeply into this. I think it will be impossible to avoid a heavy refactoring in I'm thinking about the following approach:
Does that sounds right to you? I'd really appreciate any guidance on this before going further as I'm worried about missing something important or another more straightforward approach. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Flexible indexes: review the implementation of alignment and merge 955936490 | |
889483293 | https://github.com/pydata/xarray/issues/5647#issuecomment-889483293 | https://api.github.com/repos/pydata/xarray/issues/5647 | IC_kwDOAMm_X841BHAd | benbovy 4160723 | 2021-07-29T21:49:02Z | 2021-07-29T21:49:02Z | MEMBER |
Agreed.
I could see some examples (e.g., union or intersection of staggered grids) where it could still be useful to have a (meta-)index that implements alignment, though. Actually, while working on #5636 I was thinking more about how to perform alignment based on We could maybe add an Alternatively, we could allow I'd lean towards the 2nd option, which is consistent with the class method constructors added in #5636. Not sure the 1st option is a good idea and it doesn't solve all the issues mentioned in my comment above. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Flexible indexes: review the implementation of alignment and merge 955936490 |
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