diff --git a/saqc/core/translator/positionaltranslator.py b/saqc/core/translator/positionaltranslator.py index e51871f2b23ded41a5b5f1c8cc8fe726bd1aae6e..e4d059afad20053c00aeb48ce06bec31921aee42 100644 --- a/saqc/core/translator/positionaltranslator.py +++ b/saqc/core/translator/positionaltranslator.py @@ -88,7 +88,7 @@ class PositionalTranslator(Translator): """ out = {} for field in flags.columns: - thist = flags.history[field].hist.replace(self._BACKWARD) + thist = flags.history[field].hist.replace(self._BACKWARD).astype(int) # Concatenate the single flag values. There are faster and more # complicated approaches (see former `PositionalFlagger`), but # this method shouldn't be called that often