Skip to content

Commit

Permalink
Change pd.NA to np.nan for float column.
Browse files Browse the repository at this point in the history
  • Loading branch information
aesharpe committed Jun 10, 2022
1 parent 49943ad commit 0486ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pudl/output/ferc1.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def plants_steam_ferc1(pudl_engine):
opex_nonfuel_per_mwh=lambda x: np.where(
x.net_generation_mwh > 0,
x.opex_total_nonfuel / x.net_generation_mwh,
pd.NA,
np.nan,
),
)
.pipe(
Expand Down

0 comments on commit 0486ae9

Please sign in to comment.