Skip to content

Commit 5e8098e

Browse files
committed
Fix style issues
1 parent 45f7a45 commit 5e8098e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/internals/blocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ def to_native_types(self, slicer=None, na_rep="nan", quoting=None, **kwargs):
660660
try:
661661
itemsize = writers.word_len(na_rep)
662662
values = values.astype("<U{size}".format(size=itemsize))
663-
except:
663+
except Exception:
664664
values = np.array(values, dtype="object")
665665
else:
666666
values = np.array(values, dtype="object")

0 commit comments

Comments
 (0)