home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 269709113

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/1151#issuecomment-269709113 https://api.github.com/repos/pydata/xarray/issues/1151 269709113 MDEyOklzc3VlQ29tbWVudDI2OTcwOTExMw== 1217238 2016-12-29T23:22:13Z 2016-12-29T23:22:13Z MEMBER

Is there any helper function to facilitate this?

Yes, indeed. _maybe_promote returns dtype and fill_value for inserting missing values, based on an original dtype. I guess it makes sense to start with calling one of the numpy utilities such as numpy.result_type for finding the common dtype to insert into _maybe_promote.

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