home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 346059153

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/1240#issuecomment-346059153 https://api.github.com/repos/pydata/xarray/issues/1240 346059153 MDEyOklzc3VlQ29tbWVudDM0NjA1OTE1Mw== 2443309 2017-11-21T15:20:09Z 2017-11-21T15:20:09Z MEMBER

@ulijh - you should be able to use the time index:

Python In [11]: arr.loc[arr.indexes['time'][2]:arr.indexes['time'][5]] Out[11]: <xarray.DataArray (time: 4, space: 3)> array([[ 0.422991, 0.513276, 0.762432], [ 0.111123, 0.371109, 0.697921], [ 0.029415, 0.215116, 0.451697], [ 0.670181, 0.855551, 0.319134]]) Coordinates: * time (time) datetime64[ns] 2000-01-03 2000-01-04 2000-01-05 2000-01-06 * space (space) <U2 'IA' 'IL' 'IN'

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