MCPcopy Index your code
hub / github.com/pydata/xarray / _vectorize

Function _vectorize

xarray/computation/apply_ufunc.py:694–704  ·  view source on GitHub ↗
(func, signature, output_dtypes, exclude_dims)

Source from the content-addressed store, hash-verified

692
693
694def _vectorize(func, signature, output_dtypes, exclude_dims):
695 if signature.all_core_dims:
696 func = np.vectorize(
697 func,
698 otypes=output_dtypes,
699 signature=signature.to_gufunc_string(exclude_dims),
700 )
701 else:
702 func = np.vectorize(func, otypes=output_dtypes)
703
704 return func
705
706
707def apply_variable_ufunc(

Callers 1

apply_variable_ufuncFunction · 0.85

Calls 1

to_gufunc_stringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…