From 112ec0c79c5f1c5ec05fefa3922fa39c291bee66 Mon Sep 17 00:00:00 2001 From: shaunwbell Date: Tue, 10 Oct 2023 15:43:45 -0700 Subject: [PATCH] Update wetlabs_parser.py (#275) --- src/EcoFOCIpy/io/wetlabs_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/EcoFOCIpy/io/wetlabs_parser.py b/src/EcoFOCIpy/io/wetlabs_parser.py index fd9cace..8c9b78b 100644 --- a/src/EcoFOCIpy/io/wetlabs_parser.py +++ b/src/EcoFOCIpy/io/wetlabs_parser.py @@ -120,6 +120,7 @@ def lineartimecorr(x,deltaT,T0) : deltaT = datetime.timedelta(seconds=offset) / (self.rawdata_df.index[-1] - T0) self.rawdata_df.index = self.rawdata_df.reset_index().apply(lambda x: lineartimecorr(x.date_time,deltaT,T0), axis=1) + self.rawdata_df.index.name = 'date_time' return (self.rawdata_df)