home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1353034657

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/7382#issuecomment-1353034657 https://api.github.com/repos/pydata/xarray/issues/7382 1353034657 IC_kwDOAMm_X85Qpauh 4160723 2022-12-15T13:05:55Z 2022-12-15T13:05:55Z MEMBER

Quick benchmark taking the example in #7376 (it seems even much faster than in version 2022.3.0!)

```python

version 2022.3.0

%timeit ds.assign(foo=~ds["d3"])

22.5 ms ± 1.96 ms per loop (mean ± std. dev. of 7 runs, 100 loops each)

main branch

%timeit ds.assign(foo=~ds["d3"])

193 ms ± 1.35 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

this PR

%timeit ds.assign(foo=~ds["d3"])

1.01 ms ± 10.7 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

```

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