home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 282963661

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/1288#issuecomment-282963661 https://api.github.com/repos/pydata/xarray/issues/1288 282963661 MDEyOklzc3VlQ29tbWVudDI4Mjk2MzY2MQ== 16630731 2017-02-28T07:28:54Z 2017-02-28T07:37:58Z NONE

I don't at the moment see a reason to use a different API than DataArray.mean or DataArray.sum. DataArrays assume a default spacing of 1 if coordinates are not given, which is exactly what np.trapz does. So the API for trapz might look like:

DataArray.trapz(dim=None, axis=None, skipna=None, keep_attrs=False, **kwargs)

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