home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 464234058

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/2766#issuecomment-464234058 https://api.github.com/repos/pydata/xarray/issues/2766 464234058 MDEyOklzc3VlQ29tbWVudDQ2NDIzNDA1OA== 5635139 2019-02-15T22:48:33Z 2019-02-15T22:48:33Z MEMBER

No, that would give an error message about passing in a bad argument name. We'll need our own wrappers to switch axis to dim.

I understand we'd need to define __array_function__ on xarray objects managed the conversion.

Conditional on that, could someone call np.pinv(da, dim=['x', 'y']? And then DataArray.__array_function__ would receive the dim kwarg.

Or would np.pinv raise if passed a dim kwarg? (if so, we'd still need to declare n wrappers, IIUC?)

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