ibis.expr.api.Expr.execute

Expr.execute(limit='default', timecontext: Optional[Tuple[pandas._libs.tslibs.timestamps.Timestamp, pandas._libs.tslibs.timestamps.Timestamp]] = None, params=None, **kwargs)

If this expression is based on physical tables in a database backend, execute it against that backend.

Parameters
  • limit (integer or None, default 'default') – Pass an integer to effect a specific row limit. limit=None means “no limit”. The default is whatever is in ibis.options.

  • timecontext (Optional[TimeContext], default None.) – Defines a time range of (begin, end). When defined, the execution will only compute result for data inside the time range. The time range is inclusive of both endpoints. This is conceptually same as a time filter. The time column must be named as ‘time’ and should preserve across the expression. e.g. If that column is dropped then execute will result in an error.

Returns

result – Result of compiling expression and executing in backend

Return type

expression-dependent