Skip to content

Commit 64b6d6c

Browse files
pep8
1 parent 1e31fc3 commit 64b6d6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/indexes/category.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,8 @@ def where(self, cond, other=None):
507507
# 3. Rebuild CategoricalIndex.
508508
if other is None:
509509
other = self._na_value
510-
cat = CategoricalIndex(self.values.where(cond, other), dtype=self.dtype)
510+
cat = CategoricalIndex(self.values.where(cond, other),
511+
dtype=self.dtype)
511512
return self._shallow_copy(cat, **self._get_attributes_dict())
512513

513514
def reindex(self, target, method=None, level=None, limit=None,

0 commit comments

Comments
 (0)