hydromt.model.components.TablesComponent.set#
- TablesComponent.set(tables: DataFrame | Series | Dict[str, DataFrame | Series], name: str | None = None) None [source]#
Add (a) table(s) <pandas.DataFrame> to model.
- Parameters:
tables (
pandas.DataFrame
,pandas.Series
ordict
) – Table(s) to add to model. Multiple tables can be added at once by passing a dict of tables.name (
str
, optional) – Name of table, by default None. Required when tables is not a dict.