message_ix_models.model.material.data_methanol.broadcast_nodes
- message_ix_models.model.material.data_methanol.broadcast_nodes(df_bc_node: DataFrame, df_final: DataFrame, node_cols: list[str], node_cols_codes: dict[str, Series], i: int) DataFrame[source]
Broadcast nodes that were stored in pivoted row.
- Parameters:
df_bc_node – DataFrame containing parameter data with node values pivoted
df_final – Full list of pivoted parameter data
node_cols – list of node columns of the respective parameter
node_cols_codes – list of node codes used for broadcasting
i – index of the row in df_final to be broadcasted