mario.CoreModel.get_block_as_table#

CoreModel.get_block_as_table(name: str, scenario: str = 'baseline', *, backend: str = 'auto')#

Return one block in the requested tabular backend.

Parameters:
  • name – Block name to retrieve.

  • scenario – Scenario to read from.

  • backend – Tabular backend passed to block_to_table(...).

Returns:

Table representation of the requested block in the selected backend.

Return type:

object