home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 905913845

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/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
Powered by Datasette · Queries took 162.926ms · About: xarray-datasette