home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 557833141

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/3550#issuecomment-557833141 https://api.github.com/repos/pydata/xarray/issues/3550 557833141 MDEyOklzc3VlQ29tbWVudDU1NzgzMzE0MQ== 5635139 2019-11-23T21:10:37Z 2019-11-23T21:10:37Z MEMBER

Either way, it would be good to have a clear list of da_a and da_b and respective expected results. I am a bit confused about what we actually would expect for xarray.DataArray([[1, 2], [np.nan, np.nan]], dims=['x', 'y']).

For xarray.corr(array, array, dim='y'), I think we'd expect an array of the same dimensionality as below, with one point as the correlation of 1.0 (because {1,2} is 100% correlated to {1,2}) and another NaN. Does that make sense?

In [17]: xr.dot(da,da, dims='y') Out[17]: <xarray.DataArray (x: 2)> array([ 5., nan]) Dimensions without coordinates: x

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