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-905913845,https://api.github.com/repos/pydata/xarray/issues/5735,905913845,IC_kwDOAMm_X841_yX1,26660300,2021-08-25T22:17:30Z,2021-08-25T22:17:30Z,CONTRIBUTOR,"@dcherian - I found the issue... those lines doing the subsetting were missing the `time = ` section... below is the adjusted syntax ```python ds.isel(time = (ds.time.dt.month == 1)) ds.isel(time = (ds.time.dt.month.isin([1, 2, 3]))) ```","{""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-905869910,https://api.github.com/repos/pydata/xarray/issues/5735,905869910,IC_kwDOAMm_X841_npW,26660300,2021-08-25T20:59:51Z,2021-08-25T20:59:51Z,CONTRIBUTOR,"@dcherian I tried to run it locally, it makes it 98% of the way through, and gets hung up on Dask... I followed the contributors guide instructions","{""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-905020588,https://api.github.com/repos/pydata/xarray/issues/5735,905020588,IC_kwDOAMm_X8418YSs,26660300,2021-08-24T22:32:38Z,2021-08-24T22:32:38Z,CONTRIBUTOR,Ohh.. neat! Yeah - I can add those few lines instead.,"{""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-905014382,https://api.github.com/repos/pydata/xarray/issues/5735,905014382,IC_kwDOAMm_X8418Wxu,26660300,2021-08-24T22:18:00Z,2021-08-24T22:18:00Z,CONTRIBUTOR,"> > 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. I can add that example to the `isin` section... Within the example of looking at multiple months, the approach I included seemed more straight forward... what would subsetting for multiple months look like with using `isin`? ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,978473315