issue_comments
3 rows where author_association = "MEMBER" and issue = 987559143 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- remove _ensure_plottable · 3 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
912724289 | https://github.com/pydata/xarray/pull/5763#issuecomment-912724289 | https://api.github.com/repos/pydata/xarray/issues/5763 | IC_kwDOAMm_X842ZxFB | Illviljan 14371165 | 2021-09-03T18:19:02Z | 2021-09-03T18:19:02Z | MEMBER | What would you expect the plot to look like if you input a complex number or a multiindex along the x-axis? I think I would expect it to be shown like a flattened array. And you can kind of get away with that if you cast the arrays to string before hand.
```python
x = 1j * np.arange(0, 5)
y = np.arange(5, 10)
plt.plot(x, y)
ComplexWarning: Casting complex values to real discards the imaginary part
return np.asarray(x, float)
```

```python
x = 1j * np.arange(0, 5)
y = np.arange(5, 10)
plt.plot(np.vectorize(str)(x), y)
```

```python
x = 1j + np.arange(0, 5)
y = np.arange(5, 10)
plt.plot(np.vectorize(str)(x), y)
```

```python
import pandas as pd
arrays = [[1, 1, 2, 2], ['red', 'blue', 'red', 'blue']]
a = pd.MultiIndex.from_arrays(arrays, names=('number', 'color')).to_numpy()
b = np.arange(4, 8)
plt.plot(np.vectorize(str)(a), b)
```

|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
remove _ensure_plottable 987559143 | |
912707634 | https://github.com/pydata/xarray/pull/5763#issuecomment-912707634 | https://api.github.com/repos/pydata/xarray/issues/5763 | IC_kwDOAMm_X842ZtAy | dcherian 2448579 | 2021-09-03T17:50:20Z | 2021-09-03T17:50:20Z | MEMBER | The error for multiindex plotting is not very informative "setting array element with sequence" so I would still keep for the tests that now work, we should check that the output is reasonable, so I wouldn't delete them |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
remove _ensure_plottable 987559143 | |
912620738 | https://github.com/pydata/xarray/pull/5763#issuecomment-912620738 | https://api.github.com/repos/pydata/xarray/issues/5763 | IC_kwDOAMm_X842ZXzC | dcherian 2448579 | 2021-09-03T15:26:02Z | 2021-09-03T15:26:02Z | MEMBER | Thanks @dschwoerer This makes sense to me. A lot of failed tests are checking for the raised error. We will need to update these to make sure the plotting worked. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
remove _ensure_plottable 987559143 |
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