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/pull/5735#issuecomment-910373230,https://api.github.com/repos/pydata/xarray/issues/5735,910373230,IC_kwDOAMm_X842QzFu,2448579,2021-09-01T15:03:26Z,2021-09-01T15:03:26Z,MEMBER,"RTD failure is in plotting.rst which is unrelated.
Thanks @mgrover1. I see this is your first contribution here. Welcome to xarray!","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,978473315
https://github.com/pydata/xarray/pull/5735#issuecomment-905863765,https://api.github.com/repos/pydata/xarray/issues/5735,905863765,IC_kwDOAMm_X841_mJV,2448579,2021-08-25T20:49:56Z,2021-08-25T20:49:56Z,MEMBER,"The docs build failure is real
```
RuntimeError: Non Expected exception in `/home/docs/checkouts/readthedocs.org/user_builds/xray/checkouts/5735/doc/user-guide/time-series.rst` line 177
```
we have instructions on building the docs locally here: https://xarray.pydata.org/en/stable/contributing.html#how-to-build-the-xarray-documentation","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,978473315
https://github.com/pydata/xarray/pull/5735#issuecomment-905019129,https://api.github.com/repos/pydata/xarray/issues/5735,905019129,IC_kwDOAMm_X8418X75,2448579,2021-08-24T22:29:00Z,2021-08-24T22:29:00Z,MEMBER,"oh oops
for a single month
```
ds.isel(ds.time.dt.month == 1)
```
for multiple months
```
ds.isel(ds.time.dt.month.isin([1, 2, 3]))
```
using groupby's new getitem method
```
ds.groupby(""time.month"")[1]
```
I think we want to encourage the first two; since groupby does a bunch of extra work.
I think we can add an indexing subsection under ""Datetime components"" showing the first two and link to that from the section you just edited.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,978473315
https://github.com/pydata/xarray/pull/5735#issuecomment-904991280,https://api.github.com/repos/pydata/xarray/issues/5735,904991280,IC_kwDOAMm_X8418RIw,2448579,2021-08-24T21:31:58Z,2021-08-24T21:31:58Z,MEMBER,"Thanks @mgrover1
I think this is clearer and potentially faster
``` python
ds.isel(time=ds.time.dt.month.isin([1]))
```
I noticed that this is not mentioned in the docs for [indexing using ``isin``](https://xarray.pydata.org/en/stable/user-guide/indexing.html#selecting-values-with-isin) so you could update that too if you're up for it.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,978473315