Backward compatible implementation of ``map`` See Also -------- DataSetResample.map
(self, func, args=(), shortcut=None, **kwargs)
| 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, |