issue_comments
11 rows where author_association = "MEMBER" and issue = 1090229430 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- bool(ds) should raise a "the truth value of a Dataset is ambiguous" error · 11 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1007836513 | https://github.com/pydata/xarray/issues/6124#issuecomment-1007836513 | https://api.github.com/repos/pydata/xarray/issues/6124 | IC_kwDOAMm_X848El1h | jhamman 2443309 | 2022-01-08T00:18:34Z | 2022-01-08T00:18:34Z | MEMBER | I'm also late to the party but I would say I fall squarely in the Dataset is a dict-like camp. If we remove |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bool(ds) should raise a "the truth value of a Dataset is ambiguous" error 1090229430 | |
1005918218 | https://github.com/pydata/xarray/issues/6124#issuecomment-1005918218 | https://api.github.com/repos/pydata/xarray/issues/6124 | IC_kwDOAMm_X8479RgK | shoyer 1217238 | 2022-01-05T17:16:56Z | 2022-01-05T17:16:56Z | MEMBER | I made a Twitter poll, let's see what that says 😄 https://twitter.com/xarray_dev/status/1478776987925684224?s=20 |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bool(ds) should raise a "the truth value of a Dataset is ambiguous" error 1090229430 | |
1005907803 | https://github.com/pydata/xarray/issues/6124#issuecomment-1005907803 | https://api.github.com/repos/pydata/xarray/issues/6124 | IC_kwDOAMm_X8479O9b | shoyer 1217238 | 2022-01-05T17:05:14Z | 2022-01-05T17:05:14Z | MEMBER | After discussing this a little more, I am on the fence about whether this change this is a good idea. If we can't come to concensus about expected behavior, then that is probably an indication that we should leave things the same to avoid churn. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bool(ds) should raise a "the truth value of a Dataset is ambiguous" error 1090229430 | |
1004751649 | https://github.com/pydata/xarray/issues/6124#issuecomment-1004751649 | https://api.github.com/repos/pydata/xarray/issues/6124 | IC_kwDOAMm_X84740sh | Illviljan 14371165 | 2022-01-04T12:04:42Z | 2022-01-04T12:04:42Z | MEMBER | I do wonder at what point a mapping isn't a mapping anymore? For example DataFrames aren't considered mappings:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bool(ds) should raise a "the truth value of a Dataset is ambiguous" error 1090229430 | |
1004669545 | https://github.com/pydata/xarray/issues/6124#issuecomment-1004669545 | https://api.github.com/repos/pydata/xarray/issues/6124 | IC_kwDOAMm_X8474gpp | max-sixty 5635139 | 2022-01-04T09:58:51Z | 2022-01-04T09:58:51Z | MEMBER | TBC, I am fine merging! I would lightly vote against it, but weigh my vote far below @shoyer 's. And more broadly let's not wait for everyone to agree on everything! |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bool(ds) should raise a "the truth value of a Dataset is ambiguous" error 1090229430 | |
1004476940 | https://github.com/pydata/xarray/issues/6124#issuecomment-1004476940 | https://api.github.com/repos/pydata/xarray/issues/6124 | IC_kwDOAMm_X8473xoM | dcherian 2448579 | 2022-01-04T02:09:11Z | 2022-01-04T02:09:11Z | MEMBER | Sorry! I thought we had consensus but perhaps not? Shall we revert? That said it's |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bool(ds) should raise a "the truth value of a Dataset is ambiguous" error 1090229430 | |
1004474062 | https://github.com/pydata/xarray/issues/6124#issuecomment-1004474062 | https://api.github.com/repos/pydata/xarray/issues/6124 | IC_kwDOAMm_X8473w7O | shoyer 1217238 | 2022-01-04T01:59:46Z | 2022-01-04T01:59:46Z | MEMBER | @dcherian So I guess we decided to go for it? :) @max-sixty We can still inherit from Mapping and just explicitly raise |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bool(ds) should raise a "the truth value of a Dataset is ambiguous" error 1090229430 | |
1003482768 | https://github.com/pydata/xarray/issues/6124#issuecomment-1003482768 | https://api.github.com/repos/pydata/xarray/issues/6124 | IC_kwDOAMm_X847z-6Q | max-sixty 5635139 | 2022-01-01T01:50:07Z | 2022-01-01T01:50:37Z | MEMBER | Would this mean that |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bool(ds) should raise a "the truth value of a Dataset is ambiguous" error 1090229430 | |
1002746595 | https://github.com/pydata/xarray/issues/6124#issuecomment-1002746595 | https://api.github.com/repos/pydata/xarray/issues/6124 | IC_kwDOAMm_X847xLLj | shoyer 1217238 | 2021-12-29T19:30:29Z | 2021-12-29T19:30:29Z | MEMBER | The original intention here was definitely to honor the |
{ "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bool(ds) should raise a "the truth value of a Dataset is ambiguous" error 1090229430 | |
1002534942 | https://github.com/pydata/xarray/issues/6124#issuecomment-1002534942 | https://api.github.com/repos/pydata/xarray/issues/6124 | IC_kwDOAMm_X847wXge | max-sixty 5635139 | 2021-12-29T10:53:53Z | 2021-12-29T10:53:53Z | MEMBER | I definitely empathize with the tradeoff here. That you found xarray's test's were making this error is fairly damning. But the biggest impediment to changing this behavior is that If there's a synthesis of keeping the truthiness while reducing the chance of these mistakes, that would be very welcome. I'm not sure this is an improvement, but in the example converting to a (I wrote this before seeing @Illviljan 's response, which is very similar) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bool(ds) should raise a "the truth value of a Dataset is ambiguous" error 1090229430 | |
1002441911 | https://github.com/pydata/xarray/issues/6124#issuecomment-1002441911 | https://api.github.com/repos/pydata/xarray/issues/6124 | IC_kwDOAMm_X847wAy3 | Illviljan 14371165 | 2021-12-29T07:49:07Z | 2021-12-29T07:49:07Z | MEMBER | A DataFrame has a similar error, same cooks I suppose: ```python bool(pd.DataFrame()) *** ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). bool(pd.DataFrame([[0, 2], [0, 4]], columns=['A', 'B'])) *** ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). ```
bool({'a': False})
True
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
bool(ds) should raise a "the truth value of a Dataset is ambiguous" error 1090229430 |
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 5