From fe1b6dc2854bc8b51beb99c9527fa34728c7a1d8 Mon Sep 17 00:00:00 2001 From: Konstantin Malanchev Date: Fri, 3 May 2024 08:12:44 -0400 Subject: [PATCH] np.array -> np.asarray --- src/nested_pandas/nestedframe/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nested_pandas/nestedframe/core.py b/src/nested_pandas/nestedframe/core.py index af40efa..1c8e182 100644 --- a/src/nested_pandas/nestedframe/core.py +++ b/src/nested_pandas/nestedframe/core.py @@ -398,7 +398,7 @@ def translate_cols(frame, layer, col): if layer == "base": # We pass the "base" column as a scalar return frame[col] - return np.array(frame[col]) + return np.asarray(frame[col]) # send arrays along to the apply call result = apply_df.apply(