home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 147274729

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/618#issuecomment-147274729 https://api.github.com/repos/pydata/xarray/issues/618 147274729 MDEyOklzc3VlQ29tbWVudDE0NzI3NDcyOQ== 1217238 2015-10-12T02:28:26Z 2015-10-12T02:28:26Z MEMBER

Hmm. Something seem to have broken/changed with NumPy 1.10:

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

In [2]: np.datetime64('NaT') == np.datetime64('NaT') Out[2]: True

In [3]: np.datetime64('NaT') == np.datetime64('NaT', 'us') /Users/shoyer/miniconda/envs/tmp-np1.10/bin/ipython:1: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future. #!/bin/bash /Users/shoyer/miniconda/envs/tmp-np1.10/bin/python.app Out[3]: False ```

I'm not quite sure what's going on there, so I'll file an issue in the NumPy repo.

In the meantime, we may want to update our test to coerce to datetime64[ns] first.

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