home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 503334445

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/3032#issuecomment-503334445 https://api.github.com/repos/pydata/xarray/issues/3032 503334445 MDEyOklzc3VlQ29tbWVudDUwMzMzNDQ0NQ== 5635139 2019-06-18T22:24:16Z 2019-06-18T22:24:16Z MEMBER

Thanks for the issue & code sample @OriolAbril

IIUC, func needs to do this broadcasting itself; from the apply_ufunc docstring:

func : callable Function to call like ``func(*args, **kwargs)`` on unlabeled arrays (``.data``) that returns an array or tuple of arrays. If multiple arguments with non-matching dimensions are supplied, this function is expected to vectorize (broadcast) over axes of positional arguments in the style of NumPy universal functions [1]_ (if this is not the case, set ``vectorize=True``). If this function returns multiple outputs, you must set ``output_core_dims`` as well.

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