home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 256410357

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/1062#issuecomment-256410357 https://api.github.com/repos/pydata/xarray/issues/1062 256410357 MDEyOklzc3VlQ29tbWVudDI1NjQxMDM1Nw== 1217238 2016-10-26T16:52:39Z 2016-10-26T16:52:39Z MEMBER

Indeed, NumPy converts these units inconsistently with Udunits:

```

np.timedelta64(1, 'Y').astype('timedelta64[D]') numpy.timedelta64(365,'D') ```

We currently convert all datetime arrays to ns resolution (for pandas compatibility), which means this would give possibly broken results.

But honestly, we haven't looked into this very much. If this would be a uniform improvement over the current state then it's worth considering.

CC @jhamman

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