home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 289806577

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/1335#issuecomment-289806577 https://api.github.com/repos/pydata/xarray/issues/1335 289806577 MDEyOklzc3VlQ29tbWVudDI4OTgwNjU3Nw== 10050469 2017-03-28T15:24:58Z 2017-03-28T15:24:58Z MEMBER

I'm not sure that whether coordinates should play a role here, but rather the dimensionality of the data (i.e. maybe xarray could infer that the data has one dimension and work on that axis?).

I personally find the numpy behavior with ndarrays (flattening the array before applying cumsum) quite dangerous, I would rather like it to raise an error...

python a = np.arange(12).reshape((4, 3)) np.cumsum(a) array([ 0, 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66])

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