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(