From 0486ae9e985a5835087f575c0afaeb80f06893a3 Mon Sep 17 00:00:00 2001 From: Austen Sharpe Date: Fri, 10 Jun 2022 17:06:43 -0600 Subject: [PATCH] Change pd.NA to np.nan for float column. --- src/pudl/output/ferc1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pudl/output/ferc1.py b/src/pudl/output/ferc1.py index 5e14342d06..e3fa265511 100644 --- a/src/pudl/output/ferc1.py +++ b/src/pudl/output/ferc1.py @@ -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(