(
self,
*,
func: Callable,
dtype: DTypeLike | None = None,
output_core_dims: list | tuple = ((),),
output_sizes: Mapping[Any, int] | None = None,
func_args: tuple = (),
func_kwargs: Mapping = {},
)
| 221 | return self._obj.dtype.type(invar) |
| 222 | |
| 223 | def _apply( |
| 224 | self, |
| 225 | *, |
| 226 | func: Callable, |
| 227 | dtype: DTypeLike | None = None, |
| 228 | output_core_dims: list | tuple = ((),), |
| 229 | output_sizes: Mapping[Any, int] | None = None, |
| 230 | func_args: tuple = (), |
| 231 | func_kwargs: Mapping = {}, |
| 232 | ) -> T_DataArray: |
| 233 | return _apply_str_ufunc( |
| 234 | obj=self._obj, |
| 235 | func=func, |
| 236 | dtype=dtype, |
| 237 | output_core_dims=output_core_dims, |
| 238 | output_sizes=output_sizes, |
| 239 | func_args=func_args, |
| 240 | func_kwargs=func_kwargs, |
| 241 | ) |
| 242 | |
| 243 | def _re_compile( |
| 244 | self, |
no test coverage detected