home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 947906426

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/5877#issuecomment-947906426 https://api.github.com/repos/pydata/xarray/issues/5877 947906426 IC_kwDOAMm_X844f-d6 8453445 2021-10-20T17:59:13Z 2021-10-20T17:59:13Z CONTRIBUTOR

Yup - just followed your suggestion and:

1) conda removed bottleneck and it removed xarray and pandas as well 2) conda installed xarray which installed xarray, pandas, and pytz

and now the xr.rolling(time=3).sum() yields:

array([ nan, nan, 0. , 0. , 0. , 0. , 0. , 0.31 , 1.23 , 9.530001 , 10.64 , 9.75 , 2.67 , 1.35 , 1.46 , 0.36999997, 0.26999998, 0.25 , 0.14999999, 2.68 , 2.56 , 2.73 , 0.39999998, 0.39999998, 0.19999999, 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. ], dtype=float32)

could you elaborate more on the issue? is this because of some bouncing between precisions across packages? But why do I have zeros at the beginning of the rolling sum and non zeros after having calculated a sum? it is not consistent in the behaviour.

Thanks tho!

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