Database.DataFrame(scenario='baseline')#

Return a single dataframe view of one scenario.

Parameters:

scenario – Scenario to flatten into a dataframe.

Returns:

Combined economic and extension table. Standard layouts retain their historical axes; declared matrix layouts expose their set dimensions, including empty inapplicable levels. The view does not change the model’s live matrix indexes.

Return type:

pandas.DataFrame