diff --git a/src/EcoFOCIpy/io/nitrates_parser.py b/src/EcoFOCIpy/io/nitrates_parser.py index 34f349e..0f5aaed 100644 --- a/src/EcoFOCIpy/io/nitrates_parser.py +++ b/src/EcoFOCIpy/io/nitrates_parser.py @@ -68,6 +68,6 @@ def FilterSuna(self,rmse_cutoff=0.00025): assert 'Fit RMSE' in self.data_frame.columns , 'Must provide a Fit RMSE column in data' self.data_frame = self.data_frame[self.data_frame['Fit RMSE'] <= rmse_cutoff] - self.data_frame = self.data_frame.resample('1H').median() + self.data_frame = self.data_frame.resample('1H').median(numeric_only=True) return self.data_frame