home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1279891109

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
1279891109 I_kwDOAMm_X85MSZal 6713 Support `skipna` in `.where()` 30388627 closed 0     3 2022-06-22T10:04:05Z 2022-06-24T22:52:02Z 2022-06-24T22:52:02Z NONE      

Is your feature request related to a problem?

Sometimes, the mask used in .where(mask) may have nan values. In the current stage, xarray just neglects them. But, it also makes sense that users want to mask data with nan values.

Describe the solution you'd like

This option can be achieved by adding skipna=bool.

if skipna=False, the nan values in mask will be replaced by 0:mask.fillna(0). By default, it's skipna=True which is current function.

Describe alternatives you've considered

No response

Additional context

No response

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

Links from other tables

  • 1 row from issues_id in issues_labels
  • 3 rows from issue in issue_comments
Powered by Datasette · Queries took 0.939ms · About: xarray-datasette