Skip to content

Commit 468b79b

Browse files
committed
use parens instead of backward slash
1 parent ce4ac9f commit 468b79b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/dtypes/cast.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ def trans(x): # noqa
111111
return result
112112

113113
# don't convert bool to float GH16875
114-
if issubclass(dtype.type, np.floating) and\
115-
not is_bool_dtype(result.dtype):
114+
if (issubclass(dtype.type, np.floating) and
115+
not is_bool_dtype(result.dtype)):
116116
return result.astype(dtype)
117117
elif is_bool_dtype(dtype) or is_integer_dtype(dtype):
118118

0 commit comments

Comments
 (0)