Skip to content

Commit fdbb156

Browse files
committed
make suggested change using checking for np.ndarray
1 parent 062bcbb commit fdbb156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6040,7 +6040,7 @@ def __finalize__(self, other, method: str | None = None, **kwargs) -> Self:
60406040
attrs = objs[0].attrs
60416041
have_same_attrs = all(
60426042
(obj.attrs == attrs).all()
6043-
if isinstance(obj.attrs, np.darray)
6043+
if isinstance(obj.attrs, np.ndarray)
60446044
else obj.attrs == attrs
60456045
for obj in objs[1:]
60466046
)

0 commit comments

Comments
 (0)