Skip to content

Commit

Permalink
simplify_network: revert fillna
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianHofmann committed Dec 18, 2023
1 parent 4f67160 commit cc08dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/simplify_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _aggregate_and_move_components(
def replace_components(n, c, df, pnl):
n.mremove(c, n.df(c).index)

import_components_from_dataframe(n, df.fillna(0), c)
import_components_from_dataframe(n, df, c)
for attr, df in pnl.items():
if not df.empty:
import_series_from_dataframe(n, df, c, attr)
Expand Down

0 comments on commit cc08dff

Please sign in to comment.