Skip to content

Commit b749cca

Browse files
author
Daniel Saxton
committed
Fix PEP8
1 parent 444209d commit b749cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/apply.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def apply_empty_result(self):
215215
if reduce:
216216
try:
217217
r = self.f(Series([]), *self.args, **self.kwds)
218-
except:
218+
except Exception:
219219
r = np.nan
220220

221221
return self.obj._constructor_sliced(r, index=self.agg_axis)

0 commit comments

Comments
 (0)