home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 633456698

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/4089#issuecomment-633456698 https://api.github.com/repos/pydata/xarray/issues/4089 633456698 MDEyOklzc3VlQ29tbWVudDYzMzQ1NjY5OA== 56925856 2020-05-25T08:44:36Z 2020-05-25T10:55:29Z CONTRIBUTOR

Could you also add a test for the TypeError?

python with raises_regex(TypeError, "Only xr.DataArray is supported"): xr.corr(xr.Dataset(), xr.Dataset())

Where do you mean sorry? Isn't this already there in corr()?

python3 if any(not isinstance(arr, (Variable, DataArray)) for arr in [da_a, da_b]): raise TypeError( "Only xr.DataArray and xr.Variable are supported." "Given {}.".format([type(arr) for arr in [da_a, da_b]]) ) EDIT: Scratch that, I get what you mean :)

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