8000 PERF: avoid copies if possible in fill_binop by jbrockmendel · Pull Request #31300 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

PERF: avoid copies if possible in fill_binop #31300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 25, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
typo remove extra right
  • Loading branch information
jbrockmendel committed Jan 25, 2020
commit f69e754f584c52d184a4d0bdab7ac97d2ccbf056
2 changes: 0 additions & 2 deletions pandas/core/ops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,6 @@ def fill_binop(left, right, fill_value):
left_mask = isna(left)
right_mask = isna(right)

right = right.copy()

# one but not both
mask = left_mask ^ right_mask

Expand Down
0