home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 324486173

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
324486173 MDExOlB1bGxSZXF1ZXN0MTg5MDg0MTg4 2162 Test suite: explicitly ignore irrelevant warnings 1217238 closed 0     9 2018-05-18T17:06:03Z 2018-05-29T04:34:54Z 2018-05-29T04:34:47Z MEMBER   0 pydata/xarray/pulls/2162

Includes silencing two warnings that show up in xarray's public API:

  1. Dataset.update(Dataset) #2161
  2. .equals() with scalar timedelta64/datetime64 arrays containing NaT:

``` In [1]: import numpy as np

In [2]: import xarray as xr

In [3]: array = xr.DataArray([np.datetime64('NaT')])

In [4]: array[0].equals(array[0]) /Users/shoyer/dev/xarray/xarray/core/duck_array_ops.py:148: FutureWarning: In the future, 'NAT == x' and 'x == NAT' will always be False. flag_array = (arr1 == arr2) Out[16]: True ```

Fixes #2161

  • [x] Tests added (for all bug fixes or enhancements)
  • [x] Tests passed (for all non-documentation changes)
  • [x] Fully documented, including whats-new.rst for all changes and api.rst for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later)
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2162/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 9 rows from issue in issue_comments
Powered by Datasette · Queries took 104.439ms · About: xarray-datasette