Applies the callables to the data, and convert the numerics to list or Python numeric types (int/float). Args: data: input data
(self, data: Any, **kwargs: Any)
| 142 | } |
| 143 | |
| 144 | def evaluate(self, data: Any, **kwargs: Any) -> dict: |
| 145 | """ |
| 146 | Applies the callables to the data, and convert the numerics to list or Python |
| 147 | numeric types (int/float). |
| 148 | |
| 149 | Args: |
| 150 | data: input data |
| 151 | """ |
| 152 | return {k: v(data[k], **kwargs).tolist() for k, v in self.data.items() if (callable(v) and k in data)} |
no outgoing calls