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

Method apply

xarray/core/resample.py:451–465  ·  view source on GitHub ↗

Backward compatible implementation of ``map`` See Also -------- DataSetResample.map

(self, func, args=(), shortcut=None, **kwargs)

Source from the content-addressed store, hash-verified

449 return combined
450
451 def apply(self, func, args=(), shortcut=None, **kwargs):
452 """
453 Backward compatible implementation of ``map``
454
455 See Also
456 --------
457 DataSetResample.map
458 """
459
460 warnings.warn(
461 "Resample.apply may be deprecated in the future. Using Resample.map is encouraged",
462 PendingDeprecationWarning,
463 stacklevel=2,
464 )
465 return self.map(func=func, shortcut=shortcut, args=args, **kwargs)
466
467 def reduce(
468 self,

Callers

nothing calls this directly

Calls 1

mapMethod · 0.95

Tested by

no test coverage detected