Skip to content

Commit

Permalink
Fixbug at append function from array module
Browse files Browse the repository at this point in the history
  • Loading branch information
neyberson committed Jun 6, 2024
1 parent cda1a2d commit e3f4225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pozo/utils/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e3f4225

Please sign in to comment.