id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 1474717029,PR_kwDOAMm_X85EPeqM,7353,Add python 3.11 to CI,14371165,closed,0,,,9,2022-12-04T11:12:01Z,2024-03-13T21:43:10Z,2023-05-28T09:58:40Z,MEMBER,,1,pydata/xarray/pulls/7353,"Waiting on: - https://github.com/numba/numba/issues/8304 - https://github.com/numba/numba/issues/8841 - https://github.com/zarr-developers/numcodecs/issues/377 - https://github.com/Unidata/netcdf4-python/issues/1204 - https://github.com/h5py/h5py/issues/2146 - [ ] Closes #7316 - [ ] Tests added - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] New functions/methods are listed in `api.rst` Feel free to push to this PR if you want.","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/7353/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull 1761952309,PR_kwDOAMm_X85TQlL1,7925,Remove hue_style from plot1d docstring,14371165,closed,0,,,9,2023-06-17T18:33:11Z,2024-03-13T21:40:43Z,2023-07-13T23:17:48Z,MEMBER,,0,pydata/xarray/pulls/7925," - [x] Closes #7907 - [x] Closes #7908 - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/7925/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull 1936840711,PR_kwDOAMm_X85cdvXs,8294,Use shape and dtype as typevars in NamedArray,14371165,closed,0,,,9,2023-10-11T05:08:32Z,2023-12-12T20:41:29Z,2023-10-18T06:22:52Z,MEMBER,,0,pydata/xarray/pulls/8294,"Using a different TypeVar strategy compared to #8281. The idea here is to typevar shape and dtype instead, just like numpy does. Previously I tried to use the _data array as the TypeVar but that causes all kinds of issues since TypeVar is usually invariant and can't be updated to a new type. Since the dtype changes very frequently when doing array operations it quickly gets difficult to pass along the correct typing. * This PR adds a from_array function. The intention is to use that function to create NamedArrays when you are passing around ArrayLikes. The init for NamedArray will now just assume the input data is correct. At runtime at least, mypy will catch any non-supported array types. There's some precedent to this: * numpy.array_api.Array forces to use xp.asarray. * [Cubed](https://github.com/tomwhite/cubed/blob/main/cubed/array_api/array_object.py) assumes the inputs are correct. Has a xp.asarray and a from_array function. * The ugly `fastpath` argument is therefore not needed. * Adds a bunch of type hint classes, `duckarray[ShapeType, DType]` (corresponding to `np.ndarray`) or `DuckArray[ScalarType]` (corresponding to `np.typing.NDArray`) are the recommended ones. * It's better to use these kinds of classes over creating `is_duck_array` functions with typeguards because `isinstance` also works on the `else` clause. * This PR adds some array_api functions, the idea here is that NamedArray could also be array_api compliant. - [x] Tests added - [x] Closes #8291 References: https://github.com/tomwhite/cubed/blob/ea885193dd37d27917a24878b51bb086aaef5fb1/cubed/core/ops.py#L34 https://stackoverflow.com/questions/74633074/how-to-type-hint-a-generic-numpy-array https://numpy.org/doc/stable/reference/arrays.scalars.html#scalars https://github.com/numpy/numpy/blob/040ed2dc9847265c581a342301dd87d2b518a3c2/numpy/__init__.pyi#L1423 https://github.com/numpy/numpy/blob/040ed2dc9847265c581a342301dd87d2b518a3c2/numpy/_typing/_array_like.py#L32 https://stackoverflow.com/questions/69186176/determine-if-subclass-has-a-base-classs-method-implemented-in-python","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/8294/reactions"", ""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull 1020353782,PR_kwDOAMm_X84s6KU4,5844,Add python 3.10 to CI,14371165,closed,0,,,9,2021-10-07T18:49:43Z,2022-08-12T09:05:25Z,2022-01-21T17:06:43Z,MEMBER,,0,pydata/xarray/pulls/5844," Waiting on * https://github.com/ContinuumIO/anaconda-issues/issues/12669 * https://github.com/conda/conda/pull/10970 * https://github.com/conda-forge/python-feedstock/pull/511 * https://github.com/conda-forge/numba-feedstock/pull/86 * https://github.com/pydap/pydap/pull/210 - [ ] Closes #xxxx - [ ] Tests added - [ ] Passes `pre-commit run --all-files` - [ ] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [ ] New functions/methods are listed in `api.rst` ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/5844/reactions"", ""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull 823955593,MDExOlB1bGxSZXF1ZXN0NTg2MjgwNjEw,5008,Allow dataset interpolation with different datatypes,14371165,closed,0,,,9,2021-03-07T16:21:37Z,2021-05-25T12:57:30Z,2021-05-13T15:28:16Z,MEMBER,,0,pydata/xarray/pulls/5008," Allow different datatypes (in particular booleans) to be interpolated instead of dropping them. - [x] Requires #4740. - [x] Closes #4761 - [x] Tests added - [x] Passes `pre-commit run --all-files`","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/5008/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull 892421264,MDExOlB1bGxSZXF1ZXN0NjQ1MTI4NjQ4,5315,Use _unstack_once for valid dask and sparse versions,14371165,closed,0,,,9,2021-05-15T11:42:57Z,2021-05-18T18:13:50Z,2021-05-17T22:49:18Z,MEMBER,,0,pydata/xarray/pulls/5315," - [x] Requires #5314 - [x] Passes `pre-commit run --all-files` ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/5315/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull