Skip to content

Commit efecfbe

Browse files
committed
BUG Simplify np.all method call in SparseArray.all
1 parent cc81940 commit efecfbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/sparse/array.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ def all(self, axis=0, *args, **kwargs):
629629
if len(values) != len(self) and not np.all(self.fill_value):
630630
return False
631631

632-
return np.all(values, axis, *args, **kwargs)
632+
return values.all()
633633

634634
def sum(self, axis=0, *args, **kwargs):
635635
"""

0 commit comments

Comments
 (0)