From c1ff59c014586ce65987b6f76c3cb9456bf0ca88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Nikolaus?= <31724172+srnnkls@users.noreply.github.com> Date: Mon, 17 Jan 2022 18:24:44 +0100 Subject: [PATCH] Fix errror msg in validation --- kats/consts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kats/consts.py b/kats/consts.py index 6dfbb3472..10a386ed9 100644 --- a/kats/consts.py +++ b/kats/consts.py @@ -341,7 +341,7 @@ def __init__( # noqa C901 and all(is_numeric_dtype(self.value[col]) for col in self.value) ) ): - msg = f"Time series data is type {self.value.dtype} but must be numeric" + msg = f"Time series data is type {self.value[col].dtype} but must be numeric" raise _log_error(msg) self._calc_min_max_values()