home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 878795873

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/5594#issuecomment-878795873 https://api.github.com/repos/pydata/xarray/issues/5594 878795873 MDEyOklzc3VlQ29tbWVudDg3ODc5NTg3Mw== 5635139 2021-07-13T05:41:51Z 2021-07-13T05:41:51Z MEMBER

I think this a problem with the repr rather than the index:

```python ...: print(data.time) <xarray.DataArray 'time' (time: 5)> array([946684800000000000, 946771200000000000, 946857600000000000, 946944000000000000, 947030400000000000], dtype=object) Coordinates: * time (time) object 946684800000000000 ... 947030400000000000

In [2]: data.indexes['time'] Out[2]: DatetimeIndex(['2000-01-01 00:00:00+00:00', '2000-01-02 00:00:00+00:00', '2000-01-03 00:00:00+00:00', '2000-01-04 00:00:00+00:00', '2000-01-05 00:00:00+00:00'], dtype='datetime64[ns, UTC]', name='time', freq='D') ```

But I wouldn't be surprised if there were issues with this sort of index — please post issues if you find them.

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