pypowsybl.network.Network.get_sub_networks

Network.get_sub_networks(all_attributes=False, attributes=None, **kwargs)[source]

Get a dataframe of sub networks

Parameters:
  • all_attributes (bool) – flag for including all attributes in the dataframe, default is false

  • attributes (List[str] | None) – attributes to include in the dataframe. The 2 parameters are mutually exclusive. If no parameter is specified, the dataframe will include the default attributes.

  • kwargs (ArrayLike)

Returns:

A dataframe of sub networks.

Return type:

DataFrame