>>> import xorq.api as xo
>>> t = xo.examples.penguins.fetch()
>>> t.execute()execute
xorq.api.execute(expr, **kwargs)Execute an expression against its backend if one exists.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| kwargs | Any | Keyword arguments | {} |
Examples
Scalar parameters can be supplied dynamically during execution.
>>> species = xo.param("string")
>>> expr = t.filter(t.species == species).order_by(t.bill_length_mm)
>>> expr.execute(limit=3, params={species: "Gentoo"})