home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 461707837

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/issues/2755#issuecomment-461707837 https://api.github.com/repos/pydata/xarray/issues/2755 461707837 MDEyOklzc3VlQ29tbWVudDQ2MTcwNzgzNw== 44284270 2019-02-08T06:48:24Z 2019-02-08T06:48:24Z NONE

Hi thanks but yes I want something like you have written I tried it and got the following error aa = dset.where(dset.precip<50).rolling(time=59).count('time')

Traceback (most recent call last): File "/Users/mada0007/anaconda3/envs/RAWORK/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3267, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-102-681874095ab1>", line 1, in <module> aa = dset.where(dset.precip<50).rolling(time=59).count('time') TypeError: rolling_count() takes 1 positional argument but 2 were given

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  408010761
Powered by Datasette · Queries took 0.934ms · About: xarray-datasette