issue_comments: 1100925716
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/4307#issuecomment-1100925716 | https://api.github.com/repos/pydata/xarray/issues/4307 | 1100925716 | IC_kwDOAMm_X85BnssU | 5635139 | 2022-04-17T18:08:10Z | 2022-04-17T18:08:10Z | MEMBER | Sorry this never got a response @cjbraun , especially as IIRC you had some good contributions to xarray. This does look like a bug. At first glance, it looks like we're not handling that datatype correctly, since we can't pass it to ```python ~/Library/Caches/pypoetry/virtualenvs/-x204KUJE-py3.9/lib/python3.9/site-packages/xarray/core/indexing.py in init(self, array, dtype) 1283 dtype_ = array.dtype 1284 else: -> 1285 dtype_ = np.dtype(dtype) # type: ignore[assignment] 1286 self.dtype = dtype 1287 TypeError: Cannot interpret 'interval[float64, right]' as a data type ``` Probably we should interpret anything we can't convert there as an object. We'd definitely take a PR for this. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
672842007 |