home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 969192355

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/5983#issuecomment-969192355 https://api.github.com/repos/pydata/xarray/issues/5983 969192355 IC_kwDOAMm_X845xLOj 19226431 2021-11-15T18:23:57Z 2021-11-15T18:23:57Z CONTRIBUTOR

Not sure, but I'd argue to keep the DataArray-from-self-construction as I imagine many convenience cases where arrays maybe DataArray, numpy arrays or dask arrays, and one wants to ensure a DataArray type. Many other packages like pandas/numpy have that. Also the xarray.Dataset supports from-self-construction.

Perhaps it is better to raise an error when ambiguities occur? Meaning don't allowing to pass attrs, coords when data is an DataArray...

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