Skip to content

Commit ef9c001

Browse files
committed
BUG: whoops, wrong function.
1 parent 7fd2e86 commit ef9c001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/sparse/array.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def _sparse_array_op(left, right, op, name, series=False):
133133
right_sp_values = right.sp_values
134134

135135
sparse_op = getattr(splib, opname)
136-
with np.seterr(all='ignore'):
136+
with np.errstate(all='ignore'):
137137
result, index, fill = sparse_op(left_sp_values, left.sp_index,
138138
left.fill_value, right_sp_values,
139139
right.sp_index, right.fill_value)

0 commit comments

Comments
 (0)