apply a function to data.
(self, func: Callable)
| 457 | return self.__class__(tmp_data, *self.indices) |
| 458 | |
| 459 | def apply(self, func: Callable): |
| 460 | """apply a function to data.""" |
| 461 | tmp_data = func(self.data) |
| 462 | return self.__class__(tmp_data, *self.indices) |
| 463 | |
| 464 | def __len__(self): |
| 465 | """the length of the data. |
no outgoing calls