home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 662602111

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/3245#issuecomment-662602111 https://api.github.com/repos/pydata/xarray/issues/3245 662602111 MDEyOklzc3VlQ29tbWVudDY2MjYwMjExMQ== 3460034 2020-07-22T18:03:51Z 2020-07-22T18:03:51Z CONTRIBUTOR

One question about as_numpy: should it convert pint arrays into NumPy by stripping units? Or should it convert the arrays underlying pint and keep the units? I guess the first would probably make more sense for DataArray.as_numpy(). The second behavior could be achieved with DataArray.pint.as_numpy().

This brings up a point I was wondering about as well: how should these as_*() methods relate to multiply-nested arrays? (Not sure if best to discuss that here or new issue.)

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