home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 966630134

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/5976#issuecomment-966630134 https://api.github.com/repos/pydata/xarray/issues/5976 966630134 IC_kwDOAMm_X845nZr2 5635139 2021-11-11T21:14:45Z 2021-11-11T21:16:47Z MEMBER

Allowing __format__ to work could be a nice way of letting us having easy ways to represent scalars, while retaining the benefits of always returning an array from xarray methods.

Separate point but FWIW I generally use .item() to get the value out of a scalar array.

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