From e3f422589dc0365bd70f72bc3d94a9b106c3c8ef Mon Sep 17 00:00:00 2001 From: Neyberson Date: Thu, 6 Jun 2024 15:43:24 -0500 Subject: [PATCH] Fixbug at append function from array module --- pozo/utils/array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pozo/utils/array.py b/pozo/utils/array.py index b18e64b..7a8ac7f 100644 --- a/pozo/utils/array.py +++ b/pozo/utils/array.py @@ -379,7 +379,7 @@ def append(data, arg): if arg_obj or (arg.dtype != data.dtype): arg = np.array(arg, dtype=data.dtype) return np.append(data.values, arg) - elif hasattr(data, "concat"): + elif hasattr(data, "isnull"): check_pandas() if arg_obj or (arg.dtype != data.dtype): arg = np.array(arg, dtype=data.to_numpy().dtype)