issues: 60441490
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
60441490 | MDU6SXNzdWU2MDQ0MTQ5MA== | 367 | ds['time.time'] is broken | 1217238 | closed | 0 | 1028398 | 4 | 2015-03-10T02:26:48Z | 2015-12-04T20:40:30Z | 2015-12-04T20:40:30Z | MEMBER | As noted in https://github.com/xray/xray/issues/364: ``` In [32]: t = pd.date_range('2000-01-01', periods=10, freq='H') In [33]: time = xray.DataArray(t, name='time', dims='time') In [34]: time['time.time'] Out[34]: <xray.DataArray 'time' (time: 10)> array(['1999-12-31T16:00:00.000000000-0800', '1999-12-31T17:00:00.000000000-0800', '1999-12-31T18:00:00.000000000-0800', '1999-12-31T19:00:00.000000000-0800', '1999-12-31T20:00:00.000000000-0800', '1999-12-31T21:00:00.000000000-0800', '1999-12-31T22:00:00.000000000-0800', '1999-12-31T23:00:00.000000000-0800', '2000-01-01T00:00:00.000000000-0800', '2000-01-01T01:00:00.000000000-0800'], dtype='datetime64[ns]') Coordinates: * time (time) datetime64[ns] 2000-01-01 2000-01-01T01:00:00 ... ``` It should return an array of |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/367/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |