Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Apr 25, 2018
1 parent d5470a0 commit bbcbf19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7420,7 +7420,6 @@ def _where(self, cond, other=np.nan, inplace=False, axis=None, level=None,
if other.ndim <= self.ndim:

_, other = self.align(other, join='left', axis=axis,
# XXX
level=level, fill_value=np.nan)

# if we are NOT aligned, raise as we cannot where index
Expand Down
4 changes: 1 addition & 3 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -3216,10 +3216,8 @@ def _reindex_indexer(self, new_index, indexer, copy):
return self.copy()
return self

# TODO: determine if we want EA to handle fill_value=None
# if not, then we have to determine this here.
new_values = algorithms.take_1d(self._values, indexer,
fill_value=None, allow_fill=True)
allow_fillTrue, fill_value=None)
return self._constructor(new_values, index=new_index)

def _needs_reindex_multi(self, axes, method, level):
Expand Down

0 comments on commit bbcbf19

Please sign in to comment.