(*args, wrap_api=None, **kwargs)
| 166 | |
| 167 | |
| 168 | def _wrap_expr_api(*args, wrap_api=None, **kwargs): |
| 169 | # Use Expr API, but convert to/from Expr objects |
| 170 | assert wrap_api is not None |
| 171 | result = wrap_api( |
| 172 | *[arg.expr if isinstance(arg, FrameBase) else arg for arg in args], |
| 173 | **kwargs, |
| 174 | ) |
| 175 | if isinstance(result, expr.Expr): |
| 176 | return new_collection(result) |
| 177 | return result |
| 178 | |
| 179 | |
| 180 | def _wrap_expr_op(self, other, op=None): |
nothing calls this directly
no test coverage detected