Skip to content

Commit 7ea5c96

Browse files
jbrockmendeljreback
authored andcommitted
CLN: Exception (#28853)
1 parent 981299c commit 7ea5c96

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pandas/core/generic.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4555,10 +4555,7 @@ def reindex(self, *args, **kwargs):
45554555

45564556
# check if we are a multi reindex
45574557
if self._needs_reindex_multi(axes, method, level):
4558-
try:
4559-
return self._reindex_multi(axes, copy, fill_value)
4560-
except Exception:
4561-
pass
4558+
return self._reindex_multi(axes, copy, fill_value)
45624559

45634560
# perform the reindex on the axes
45644561
return self._reindex_axes(
@@ -9065,7 +9062,6 @@ def _where(
90659062

90669063
# try to not change dtype at first (if try_quick)
90679064
if try_quick:
9068-
90699065
new_other = com.values_from_object(self)
90709066
new_other = new_other.copy()
90719067
new_other[icond] = other

0 commit comments

Comments
 (0)