home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 568789721

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/pull/3312#issuecomment-568789721 https://api.github.com/repos/pydata/xarray/issues/3312 568789721 MDEyOklzc3VlQ29tbWVudDU2ODc4OTcyMQ== 35968931 2019-12-24T18:39:21Z 2019-12-24T18:39:21Z MEMBER

Also separately I think I've discovered a related weird bug: python da1 = xr.DataArray([0], name='a') da2 = xr.DataArray([1], name='b') xr.combine_by_coords([da1, da2]) returns /xarray/xarray/core/dataarray.py:682: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison return key in self.data /xarray/xarray/core/dataarray.py:682: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison return key in self.data Out[5]: <xarray.Dataset> Dimensions: (dim_0: 1) Dimensions without coordinates: dim_0 Data variables: a (dim_0) int64 0 b (dim_0) int64 1 which it shouldn't do, it should have just immediately failed because there are no dimension coordinates, and otherwise single-element arrays should obviously behave the same as the other examples above. I think it's because it's reading the single element data 0 or 1 as a boolean at some point...

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