home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 289715756

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-289715756 https://api.github.com/repos/pydata/xarray/issues/1334 289715756 MDEyOklzc3VlQ29tbWVudDI4OTcxNTc1Ng== 10050469 2017-03-28T09:33:30Z 2017-03-28T09:33:30Z MEMBER

What I want is to access the array [0,1,2,3....] as integers

ds['time.hour'].values gives you access to the underlying numpy arrays. However, it is needed only in rare case since xarray data structures behave like numpy arrays (one reason why you would want to access the numpy arrays instead of xarrays DataArrays is for performance).

Perhaps xr is it something more to plot data, and the objects within xr are only capable of manipulation only within a limited framework.

I strongly disagree with that one of course ;-) Let us now if we can do anything about the documentation in order to improve it.

{
    "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 1.006ms · About: xarray-datasette