Closed
Description
https://github.com/pandas-dev/pandas/blob/master/pandas/core/ops.py#L1030
# we may need to manually
# broadcast a 1 element array
if yrav.shape != mask.shape:
yrav = np.empty(mask.shape, dtype=yrav.dtype)
yrav.fill(yrav.item())
Getting yrav.item()
in the last line here after re-defining yrav
in the previous line seems like it is likely getting the wrong thing. Is this intentional?
Metadata
Metadata
Assignees
Labels
No labels