fugue_ibis.execution#

fugue_ibis.execution.ibis_engine#

class fugue_ibis.execution.ibis_engine.IbisEngine(execution_engine)[source]#

Bases: object

The abstract base class for different ibis execution implementations.

Parameters

execution_engine (fugue.execution.execution_engine.ExecutionEngine) – the execution engine this ibis engine will run on

Return type

None

property execution_engine: fugue.execution.execution_engine.ExecutionEngine#

the execution engine this ibis engine will run on

abstract select(dfs, ibis_func)[source]#

Execute the ibis select expression.

Parameters
Returns

result of the ibis function

Return type

fugue.dataframe.dataframe.DataFrame

Note

This interface is experimental, so it is subjected to change.

fugue_ibis.execution.ibis_engine.register_ibis_engine(priority, func)[source]#
Parameters
Return type

None

fugue_ibis.execution.ibis_engine.to_ibis_engine(execution_engine, ibis_engine=None)[source]#
Parameters
Return type

fugue_ibis.execution.ibis_engine.IbisEngine

fugue_ibis.execution.pandas_backend#

class fugue_ibis.execution.pandas_backend.PandasIbisEngine(execution_engine)[source]#

Bases: fugue_ibis.execution.ibis_engine.IbisEngine

Parameters

execution_engine (fugue.execution.execution_engine.ExecutionEngine) –

Return type

None

select(dfs, ibis_func)[source]#

Execute the ibis select expression.

Parameters
Returns

result of the ibis function

Return type

fugue.dataframe.dataframe.DataFrame

Note

This interface is experimental, so it is subjected to change.