Skip to content

Commit

Permalink
change to pass on np_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
topper-123 committed Jun 5, 2019
1 parent 676a2e4 commit 2623f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/core/internals/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1348,8 +1348,8 @@ def func(cond, values, other):
return self.make_block(result)

# might need to separate out blocks
axis = cond.ndim - 1
cond = cond.swapaxes(axis, 0)
if cond.ndim != 1:
cond = cond.transpose()
mask = np.array([cond[i].all() for i in range(cond.shape[0])],
dtype=bool)

Expand Down

0 comments on commit 2623f0a

Please sign in to comment.