From c20cd3c803d943ca4e14ed67399667d2b683e80f Mon Sep 17 00:00:00 2001
From: Peter Luenenschloss <peter.luenenschloss@ufz.de>
Date: Thu, 22 Apr 2021 14:23:03 +0200
Subject: [PATCH] removed testing artifacts

---
 saqc/funcs/resampling.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/saqc/funcs/resampling.py b/saqc/funcs/resampling.py
index 5804edcbd..1623f5048 100644
--- a/saqc/funcs/resampling.py
+++ b/saqc/funcs/resampling.py
@@ -413,8 +413,7 @@ def _shift(
 
     # The last 2 lines left the history in an unstable state, Also we want to
     # append a dummy column, that represent the 'shift' in the history.
-    #history.hist.loc[:, :0] = UNFLAGGED
-    history.hist[0] = UNFLAGGED
+    history.hist.loc[:, :0] = UNFLAGGED
     dummy = pd.Series(UNTOUCHED, index=datcol.index, dtype=float)
     history.append(dummy, force=True)
 
-- 
GitLab