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/3124#issuecomment-511204028,https://api.github.com/repos/pydata/xarray/issues/3124,511204028,MDEyOklzc3VlQ29tbWVudDUxMTIwNDAyOA==,6628425,2019-07-14T13:42:47Z,2019-07-14T13:42:47Z,MEMBER,"I normally use something like this, which results in the equivalent of @dcherian's suggestion, but is a bit more direct:
```python
data = data.sel(time=data.time.dt.month.isin([1, 2, 3, 10, 11, 12]))
```
@mada0007 you can then subset in time to truncate the time series further afterwards:
```python
result = data.sel(time=slice('1950-04', '1960-04'))
```","{""total_count"": 6, ""+1"": 6, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,467814673