home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 713834297

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
713834297 MDU6SXNzdWU3MTM4MzQyOTc= 4482 Allow skipna in .dot() 2560426 open 0     13 2020-10-02T18:52:41Z 2020-10-20T22:21:14Z   NONE      

Is your feature request related to a problem? Please describe. Right now there's no efficient way to do a dot product that skips over nan elements.

Describe the solution you'd like I want to be able to treat the summation in dot as a nansum, controlled by a skipna option. Either this can be implemented directly, or an additional ufunc can be added: xarray.unfuncs.nan_to_num that can be called on the inputs to dot. Unfortunately using numpy's nan_to_num will initiate eager execution.

Describe alternatives you've considered It's possible to implement this by hand, but it ends up being extremely inefficient in one of my use-cases: - (x*y).sum('dot_prod_dim', skipna=True) takes 30 seconds - x.dot(y) takes 1 second

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4482/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 issue

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 13 rows from issue in issue_comments
Powered by Datasette · Queries took 0.525ms · About: xarray-datasette