home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 94079391

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/392#issuecomment-94079391 https://api.github.com/repos/pydata/xarray/issues/392 94079391 MDEyOklzc3VlQ29tbWVudDk0MDc5Mzkx 1217238 2015-04-17T21:30:47Z 2015-04-17T21:30:47Z MEMBER

Here's the timing info:

``` %time res = ds.t2m.groupby('time.month').mean('time').sum()

CPU times: user 133 ms, sys: 6.39 ms, total: 140 ms

Wall time: 145 ms

%time res.load_data()

CPU times: user 2min 47s, sys: 1min, total: 3min 48s

Wall time: 1min 19s

%time res = ds.t2m.groupby('time.month').apply(lambda x: x - x.mean()).sum()

CPU times: user 49.1 s, sys: 6.39 s, total: 55.5 s

Wall time: 55.1 s

%time res.load_data()

CPU times: user 6min 17s, sys: 2min 20s, total: 8min 38s

Wall time: 3min 25s

```

Blocks shape is {'latitude': (256,), 'longitude': (512,), 'time': (124, 124, 112, ..., 124, 120, 124)}

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