Skip to content

Commit 812e6ec

Browse files
committed
Fix long line
1 parent c7e9c9c commit 812e6ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/io/stata.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,8 @@ def read(self, nrows=None, convert_dates=None,
15111511
if self.dtyplist[i] is not None:
15121512
col = data.columns[i]
15131513
dtype = data[col].dtype
1514-
if (dtype != np.dtype(object)) and (dtype != self.dtyplist[i]):
1514+
if ((dtype != np.dtype(object)) and
1515+
(dtype != self.dtyplist[i])):
15151516
requires_type_conversion = True
15161517
data_formatted.append(
15171518
(col, Series(data[col], index, self.dtyplist[i])))

0 commit comments

Comments
 (0)