home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 340290288

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/1617#issuecomment-340290288 https://api.github.com/repos/pydata/xarray/issues/1617 340290288 MDEyOklzc3VlQ29tbWVudDM0MDI5MDI4OA== 1217238 2017-10-29T20:09:12Z 2017-10-29T20:09:12Z MEMBER

A related task would be finishing up this PR:

  • 1118: Do not convert subclasses of ndarray unless required

Ultimately, it would be nice to have some sort of registration system, especially for objects that aren't ndarray subclasses, that indicates that a class can safely be wrapped by xarray.

I'm thinking something like xarray.register_data_type(ArrayWithUnits) which indicates that .data for xarray objects can now be an ArrayWithUnits object. This would also possibly require passing a reference to a set of function to use on data containing these objects (e.g., for stacking or concatenating).

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