home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 394754176

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/pull/2104#issuecomment-394754176 https://api.github.com/repos/pydata/xarray/issues/2104 394754176 MDEyOklzc3VlQ29tbWVudDM5NDc1NDE3Ng== 1217238 2018-06-05T15:30:23Z 2018-06-05T15:30:23Z MEMBER

Do we have other methods that behave similarly?

We do the same thing for aggregations like mean(), behavior originally copied from pandas: http://pandas.pydata.org/pandas-docs/version/0.22/generated/pandas.DataFrame.mean.html

We could add a numeric_only=True argument (like we do for reduction methods) to make this behavior more obvious and allow it to be controlled.

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