home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 289708753

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/1334#issuecomment-289708753 https://api.github.com/repos/pydata/xarray/issues/1334 289708753 MDEyOklzc3VlQ29tbWVudDI4OTcwODc1Mw== 10050469 2017-03-28T09:05:21Z 2017-03-28T09:05:21Z MEMBER

I don't really understand what you mean. Here is the example from the docs again:

python import xarray as xr import pandas as pd import numpy as np time = pd.date_range('2000-01-01', freq='H', periods=24) ds = xr.Dataset({'foo': ('time', np.arange(24)), 'time': time}) ds['time.hour']

which prints:

<xarray.DataArray 'hour' (time: 24)> array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], dtype=int32) Coordinates: * time (time) datetime64[ns] 2000-01-01 2000-01-01T01:00:00 ...

What is it exactly what you are expecting?

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