home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 748479287

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/4714#issuecomment-748479287 https://api.github.com/repos/pydata/xarray/issues/4714 748479287 MDEyOklzc3VlQ29tbWVudDc0ODQ3OTI4Nw== 18488 2020-12-19T14:06:36Z 2020-12-19T14:06:36Z NONE

Thanks for the suggestion. One issue with this alternative is it creates a potentially large intermediate object.

If you have T times and S sensors, and want to sample them at N (time, sensor) pairs, then the intermediate object with your approach has size T*N (if you index sensors first) or S*N (if you index time first). If you can index both dimensions in one sel call then we should only need to allocate memory for the result of size N, which is considerably better.

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