pypsa.Network.df#
- Network.df(component_name: str) pd.DataFrame#
Alias for [n.static][pypsa.Network.static].
Deprecation#
Deprecated in [:material-tag-outline: v1.0](/release-notes/#v1.0.0) and will be removed in v2.0:
Use the [Components Class][pypsa.Components] to access components attributes. As a drop in replacement you can use either [n.components[<component>].static][pypsa.Components.static] or n.components.<component>.static. You can also use the alias [ n.c][pypsa.Network.c] for [n.components][pypsa.Network.components].
- param component_name:
Name of the component.
- type component_name:
string
- returns:
Static data of the component.
- rtype:
pandas.DataFrame