Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Apr 25, 2018
1 parent 338566f commit 31cd304
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pandas/core/arrays/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def _values_for_take(self):
return self.astype(object)

def take(self, indexer, fill_value=None, allow_fill=None):
# type: (Sequence[int], Optional[Any], Optional[bool]) -> ExtensionArray
# type: (Sequence[int], Optional[Any], bool) -> ExtensionArray
"""Take elements from an array.
Parameters
Expand Down Expand Up @@ -534,7 +534,8 @@ def take(self, indexer, fill_value=None, allow_fill=None):
if allow_fill and fill_value is None:
fill_value = self.dtype.na_value

result = take(data, indexer, fill_value=fill_value, allow_fill=allow_fill)
result = take(data, indexer, fill_value=fill_value,
allow_fill=allow_fill)
return self._from_sequence(result)

def copy(self, deep=False):
Expand Down

0 comments on commit 31cd304

Please sign in to comment.