From dd404c605e553aa22ecbdc1472fdd1194f1bba53 Mon Sep 17 00:00:00 2001 From: paulf81 Date: Fri, 18 Oct 2024 22:39:11 -0600 Subject: [PATCH] set observed to false (#225) --- flasc/data_processing/filtering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flasc/data_processing/filtering.py b/flasc/data_processing/filtering.py index 46aa58ae..b1e7142d 100644 --- a/flasc/data_processing/filtering.py +++ b/flasc/data_processing/filtering.py @@ -194,7 +194,7 @@ def _get_mean_power_curves(self, df=None, turbine_subset=None): pw_curve_df_subset = ( pd.concat( [ - df_pow_and_ws_bins_subset.groupby(by=f"ws_{ti:03d}", observed=True)[ + df_pow_and_ws_bins_subset.groupby(by=f"ws_{ti:03d}", observed=False)[ f"pow_{ti:03d}" ].median() for ti in turbine_subset