Skip to content

Commit

Permalink
Added note
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Apr 27, 2018
1 parent eb43fa4 commit 6858409
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pandas/core/arrays/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@ def take(self, indices, allow_fill=False, fill_value=None):
if allow_fill and fill_value is None:
fill_value = self.dtype.na_value
# fill value should always be translated from the scalar
# type for the array, to the physical storage type for
# the data, before passing to take.
result = take(data, indices, fill_value=fill_value,
allow_fill=allow_fill)
return self._from_sequence(result)
Expand Down

0 comments on commit 6858409

Please sign in to comment.