issue_comments
13 rows where issue = 587895591 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Keep attrs by default? (keep_attrs) · 13 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
818377781 | https://github.com/pydata/xarray/issues/3891#issuecomment-818377781 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDgxODM3Nzc4MQ== | dcherian 2448579 | 2021-04-13T02:07:22Z | 2021-04-13T02:07:22Z | MEMBER |
If we allow
could be OK, where all decisions are left up to the external package (here (Though what's stopping us from directly adding |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
773693380 | https://github.com/pydata/xarray/issues/3891#issuecomment-773693380 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDc3MzY5MzM4MA== | keewis 14808389 | 2021-02-05T00:25:16Z | 2021-02-05T00:25:16Z | MEMBER | if I remember correctly, we decided to allow passing a user-provided function to Something to keep in mind is that not all strategies make sense for operations that involve only a single variable, like |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
766953351 | https://github.com/pydata/xarray/issues/3891#issuecomment-766953351 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDc2Njk1MzM1MQ== | keewis 14808389 | 2021-01-25T16:51:00Z | 2021-01-25T16:51:00Z | MEMBER | I did not think this through carefully, but I wonder if we should extend |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
612522628 | https://github.com/pydata/xarray/issues/3891#issuecomment-612522628 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDYxMjUyMjYyOA== | shoyer 1217238 | 2020-04-11T22:03:56Z | 2020-04-11T22:03:56Z | MEMBER | I think it would probably be OK to start propagating more |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
612501095 | https://github.com/pydata/xarray/issues/3891#issuecomment-612501095 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDYxMjUwMTA5NQ== | max-sixty 5635139 | 2020-04-11T19:52:37Z | 2020-04-11T19:52:37Z | MEMBER |
Right, anything involving an object with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
612486735 | https://github.com/pydata/xarray/issues/3891#issuecomment-612486735 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDYxMjQ4NjczNQ== | TomNicholas 35968931 | 2020-04-11T18:39:58Z | 2020-04-11T18:39:58Z | MEMBER | I'm trying to imagine what the approach that delegated the largest fraction of the work to an attrs-handling plugin would be. Would it be to give the attrs plugin the input, and the name of the function/method that was being called, and let the plugin completely decide the output attrs? Or would that be under-specified? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
612445784 | https://github.com/pydata/xarray/issues/3891#issuecomment-612445784 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDYxMjQ0NTc4NA== | TomNicholas 35968931 | 2020-04-11T15:24:58Z | 2020-04-11T15:25:22Z | MEMBER |
I agree that this would be very powerful, and allow users to implement all the things they want (provenance, units handling etc.), but this also seems like a big undertaking. In order to have well-defined handling of attrs through operations like Do you think it would be useful to get input from someone who actually wants this for a complex use case? I think the most hardcore one will be data provenance, because that (a) will need complicated underlying logic, (b) ideally needs to be pretty fault-tolerant, and (c) won't be made redundant by pint or duck-array integration. There was someone on #1614 who was asking about this IIRC.
That would be almost every operation wouldn't it? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
609830530 | https://github.com/pydata/xarray/issues/3891#issuecomment-609830530 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDYwOTgzMDUzMA== | max-sixty 5635139 | 2020-04-06T14:30:26Z | 2020-04-06T14:30:26Z | MEMBER | Great, thanks @TomNicholas , appreciate the thoughtful reply. One thing we could do (NB: I don't think we should do this right now, but building on the points above as ideation) is to defer to the Re next steps on setting the default to be |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
609481850 | https://github.com/pydata/xarray/issues/3891#issuecomment-609481850 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDYwOTQ4MTg1MA== | TomNicholas 35968931 | 2020-04-05T20:59:36Z | 2020-04-05T21:01:09Z | MEMBER | I think this is a good question @max-sixty , and I have some opinions based on my experience with xBOUT. Firstly I agree with you that for those users who use xarray as a convenience wrapper or for whom it's useful but not critical it makes more sense to keep attrs by default. "Drop by default because otherwise they might become inconsistent with your data" never really made sense to me, because if you care that much about attrs being consistent with data then you really need well-defined rules for how they are propagated in all cases, which we don't (yet) offer. In all other cases you would rather keep them and have to deal with the edge cases (which is why I wanted #2482 ). As a concrete usage example of wanting to preserve attrs while not being overly-concerned if they sometimes get dropped: in xBOUT, our data requires carting around some After the casual wrapper case, the most important cases are: - Units, which IMO becomes much less relevant once pint integration is complete, - Data provenance, - CF conventions - Other domain-specific types of grids (like the xBOUT case, or staggered grids etc.) At the risk of repeating what's in #1614 , I would like to see some hybrid approach, which gives a simple global default along the lines of what @crusaderky suggests, but also allows a plugin which takes over and rigorously specifies the behaviour for the users who do care. Then we can outsource the work of the complex logic to e.g. the community that actually has to preserve CF conventions, or a separate data provenance package. (Also I made a new |
{ "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
604665945 | https://github.com/pydata/xarray/issues/3891#issuecomment-604665945 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDYwNDY2NTk0NQ== | crusaderky 6213168 | 2020-03-26T20:24:23Z | 2020-03-26T20:24:23Z | MEMBER | @shoyer to me this it would make the most sense to do a union of the inputs: - if a key is present only in one input, it goes to the output - if a key is present in multiple inputs, always take the leftmost Note how this would be different from how scalar coords are treated; scalar coords are discarded when they arrive from multiple inputs and are mismatched. The reason I don't think it's wise to do the same with attrs is that it could be uncontrollably expensive to compute equality, depending on what people loaded in them. I've personally seen them used as back-references to the whole application framework. Also there's no guarantee that they implement |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
604659118 | https://github.com/pydata/xarray/issues/3891#issuecomment-604659118 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDYwNDY1OTExOA== | shoyer 1217238 | 2020-03-26T20:09:59Z | 2020-03-26T20:09:59Z | MEMBER | See https://github.com/pydata/xarray/issues/1614 for related discussion. I'm happy to set aside backwards compatibility concerns for now and ponder what the ideal policy would be. The original choices here were not made in a super careful way. My longest-standing concern here is about units. One common use case for The other concern is how to combine |
{ "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
604445960 | https://github.com/pydata/xarray/issues/3891#issuecomment-604445960 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDYwNDQ0NTk2MA== | max-sixty 5635139 | 2020-03-26T13:57:47Z | 2020-03-26T13:57:47Z | MEMBER |
Yes that's fine if people are happy with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 | |
604310958 | https://github.com/pydata/xarray/issues/3891#issuecomment-604310958 | https://api.github.com/repos/pydata/xarray/issues/3891 | MDEyOklzc3VlQ29tbWVudDYwNDMxMDk1OA== | crusaderky 6213168 | 2020-03-26T09:03:50Z | 2020-03-26T09:03:50Z | MEMBER | Why would you want a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Keep attrs by default? (keep_attrs) 587895591 |
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 6